From: <fu...@us...> - 2009-12-12 22:27:24
|
Revision: 7458 http://gemrb.svn.sourceforge.net/gemrb/?rev=7458&view=rev Author: fuzzie Date: 2009-12-12 22:27:09 +0000 (Sat, 12 Dec 2009) Log Message: ----------- restore the dllexport decorator we lost in r4009, to try and make sure the correct symbols get exported under mingw Modified Paths: -------------- gemrb/trunk/gemrb/includes/globals.h Modified: gemrb/trunk/gemrb/includes/globals.h =================================================================== --- gemrb/trunk/gemrb/includes/globals.h 2009-12-12 21:40:10 UTC (rev 7457) +++ gemrb/trunk/gemrb/includes/globals.h 2009-12-12 22:27:09 UTC (rev 7458) @@ -58,8 +58,6 @@ #endif //GLOBALS_ONLY_DEFS -#define GEM_EXPORT_DLL extern "C" - //Global Variables #ifdef WIN32 @@ -159,8 +157,11 @@ #define GEM_EXPORT __declspec(dllimport) #endif +#define GEM_EXPORT_DLL extern "C" __declspec(dllexport) + #else #define GEM_EXPORT +#define GEM_EXPORT_DLL extern "C" #endif class Scriptable; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |