All pastes #1712583 Raw Edit

GEM_EXPORT

public text v1 · immutable
#1712583 ·published 2009-12-12 22:19 UTC
rendered paste body
diff --git a/gemrb/includes/globals.h b/gemrb/includes/globals.h
index 6fabf53..f93b938 100644
--- a/gemrb/includes/globals.h
+++ b/gemrb/includes/globals.h
@@ -58,8 +58,6 @@
 
 #endif //GLOBALS_ONLY_DEFS
 
-#define GEM_EXPORT_DLL extern "C"
-
 //Global Variables
 
 #ifdef WIN32
@@ -163,6 +161,9 @@
 #define GEM_EXPORT
 #endif
 
+#define GEM_EXPORT_DLL extern "C" GEM_EXPORT
+
+
 class Scriptable;
 class Actor;