diff options
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index 60972da38c..a0ba3622c1 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -53,6 +53,7 @@ #define FORCEINLINE __forceinline #define NORETURN _declspec(noreturn) + #define PLUGIN_EXPORT __declspec(dllexport) typedef unsigned char byte; typedef unsigned char uint8; @@ -92,6 +93,8 @@ #define START_PACK_STRUCTS pack (push, 1) #define END_PACK_STRUCTS pack(pop) + #define PLUGIN_EXPORT __declspec(dllexport) + #elif defined(UNIX) #define scumm_stricmp strcasecmp @@ -322,6 +325,10 @@ #define CDECL #endif +#ifndef PLUGIN_EXPORT +#define PLUGIN_EXPORT +#endif + #ifndef NORETURN #define NORETURN #endif |