[Scummvm-cvs-logs] SF.net SVN: scummvm: [22428] residual/trunk/main.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sat May 13 00:10:42 CEST 2006


Revision: 22428
Author:   aquadran
Date:     2006-05-12 23:59:31 -0700 (Fri, 12 May 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=22428&view=rev

Log Message:
-----------
fixed compilation with msvc

Modified Paths:
--------------
    residual/trunk/main.cpp
Modified: residual/trunk/main.cpp
===================================================================
--- residual/trunk/main.cpp	2006-05-13 06:18:47 UTC (rev 22427)
+++ residual/trunk/main.cpp	2006-05-13 06:59:31 UTC (rev 22428)
@@ -44,7 +44,7 @@
 bool ZBUFFER_GLOBAL, SHOWFPS_GLOBAL, TINYGL_GLOBAL;
 enDebugLevels debugLevel = DEBUG_NONE;
 
-#if defined (WIN32)
+#if defined (WIN32) && !defined (_MSC_VER)
 int WinMain(HINSTANCE /*hInst*/, HINSTANCE /*hPrevInst*/,  LPSTR /*lpCmdLine*/, int /*iShowCmd*/) {
     return main(__argc, __argv);
 }


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