aboutsummaryrefslogtreecommitdiff
path: root/common/scummsys.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2005-06-05 12:55:33 +0000
committerPaweł Kołodziejski2005-06-05 12:55:33 +0000
commitbc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea (patch)
tree36a22ed38562b42d97f7d41d059a81522538f95b /common/scummsys.h
parente1aec42c63e4a782d978f21e56ea8d0fce2ed967 (diff)
downloadscummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.tar.gz
scummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.tar.bz2
scummvm-rg350-bc65eb8ea51944c13a23ea4a7d1b54d228c5b7ea.zip
added code for loading dynamic plugins(DLLs) for windows
svn-id: r18356
Diffstat (limited to 'common/scummsys.h')
-rw-r--r--common/scummsys.h7
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