summaryrefslogtreecommitdiff
path: root/orkbasecxx/dll.h
diff options
context:
space:
mode:
Diffstat (limited to 'orkbasecxx/dll.h')
-rw-r--r--orkbasecxx/dll.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/orkbasecxx/dll.h b/orkbasecxx/dll.h
index 7dff4e9..5966e2b 100644
--- a/orkbasecxx/dll.h
+++ b/orkbasecxx/dll.h
@@ -2,6 +2,16 @@
#define __DLL_H__
#ifdef WIN32
+ #ifdef BUILD_ORKBASE
+ #define DLL_IMPORT_EXPORT __declspec( dllexport )
+ #else
+ #define DLL_IMPORT_EXPORT __declspec( dllimport )
+ #endif
+#else
+ #define DLL_IMPORT_EXPORT
+#endif
+
+#ifdef WIN32
#define __CDECL__ __cdecl
#else
#define __CDECL__