diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-06-07 03:42:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-16 03:43:42 +0300 |
commit | f73dd1e9a43eb3914ba040944b5a21c663cb8ca7 (patch) | |
tree | eb95e2b18b68700625a58084a55a65dd7c684661 /src | |
parent | c5d05224e5961588b3b4905d0bc4f811f544f5b2 (diff) | |
download | hercules-f73dd1e9a43eb3914ba040944b5a21c663cb8ca7.tar.gz hercules-f73dd1e9a43eb3914ba040944b5a21c663cb8ca7.tar.bz2 hercules-f73dd1e9a43eb3914ba040944b5a21c663cb8ca7.tar.xz hercules-f73dd1e9a43eb3914ba040944b5a21c663cb8ca7.zip |
Fix HPM data check violations between server and plugins
Diffstat (limited to 'src')
-rw-r--r-- | src/common/hercules.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/common/hercules.h b/src/common/hercules.h index 89ea761b4..e62656494 100644 --- a/src/common/hercules.h +++ b/src/common/hercules.h @@ -23,11 +23,15 @@ #include "config/core.h" #include "common/cbasetypes.h" +#ifdef HERCULES_CORE +#define HPExport static +#else // HERCULES_CORE #ifdef WIN32 - #define HPExport __declspec(dllexport) -#else - #define HPExport __attribute__((visibility("default"))) -#endif +#define HPExport __declspec(dllexport) +#else // WIN32 +#define HPExport __attribute__((visibility("default"))) +#endif // WIN32 +#endif // HERCULES_CORE #define HPShared extern |