[Scummvm-cvs-logs] SF.net SVN: scummvm: [31904] scummvm/trunk/base/plugins.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue May 6 19:30:53 CEST 2008


Revision: 31904
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31904&view=rev
Author:   thebluegr
Date:     2008-05-06 10:30:52 -0700 (Tue, 06 May 2008)

Log Message:
-----------
Added a temporary hack to get the engine plugins working under MSVC

Modified Paths:
--------------
    scummvm/trunk/base/plugins.h

Modified: scummvm/trunk/base/plugins.h
===================================================================
--- scummvm/trunk/base/plugins.h	2008-05-06 17:30:31 UTC (rev 31903)
+++ scummvm/trunk/base/plugins.h	2008-05-06 17:30:52 UTC (rev 31904)
@@ -106,6 +106,12 @@
 #define PLUGIN_ENABLED_STATIC(ID) \
 	(defined(ENABLE_##ID) && !PLUGIN_ENABLED_DYNAMIC(ID))
 
+// HACK for MSVC
+#if defined(_MSC_VER)
+	#undef PLUGIN_ENABLED_STATIC
+	#define PLUGIN_ENABLED_STATIC(ID) 1
+#endif
+
 #define PLUGIN_ENABLED_DYNAMIC(ID) \
 	(defined(ENABLE_##ID) && (ENABLE_##ID == DYNAMIC_PLUGIN) && defined(DYNAMIC_MODULES))
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list