mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Cleanup - do not dllexport statically built plugins
This commit is contained in:
@@ -23,18 +23,20 @@
|
||||
unlike other compilers, uses C++ mangling for variables not only
|
||||
for functions.
|
||||
*/
|
||||
#if defined(_MSC_VER)
|
||||
#ifdef __cplusplus
|
||||
#define MYSQL_PLUGIN_EXPORT extern "C" __declspec(dllexport)
|
||||
#ifdef MYSQL_DYNAMIC_PLUGIN
|
||||
#ifdef _MSC_VER
|
||||
#define MYSQL_DLLEXPORT _declspec(dllexport)
|
||||
#else
|
||||
#define MYSQL_PLUGIN_EXPORT __declspec(dllexport)
|
||||
#endif
|
||||
#else /*_MSC_VER */
|
||||
#ifdef __cplusplus
|
||||
#define MYSQL_PLUGIN_EXPORT extern "C"
|
||||
#else
|
||||
#define MYSQL_PLUGIN_EXPORT
|
||||
#define MYSQL_DLLEXPORT
|
||||
#endif
|
||||
#else
|
||||
#define MYSQL_DLLEXPORT
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define MYSQL_PLUGIN_EXPORT extern "C" MYSQL_DLLEXPORT
|
||||
#else
|
||||
#define MYSQL_PLUGIN_EXPORT MYSQL_DLLEXPORT
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user