freesci-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freesci-develop] r1555 - in freesci/trunk: . src/engine


From: freesci
Subject: [freesci-develop] r1555 - in freesci/trunk: . src/engine
Date: Wed, 15 Feb 2006 11:21:14 +0100

Author: arangas
Date: 2006-02-15 11:21:07 +0100 (Wed, 15 Feb 2006)
New Revision: 1555

Modified:
   freesci/trunk/ChangeLog
   freesci/trunk/src/engine/game.c
Log:
This should fix the compilation error reported by Rune on non-Win32 systems.

-- Alex Angas.

Modified: freesci/trunk/ChangeLog
===================================================================
--- freesci/trunk/ChangeLog     2006-02-14 18:24:46 UTC (rev 1554)
+++ freesci/trunk/ChangeLog     2006-02-15 10:21:07 UTC (rev 1555)
@@ -1,3 +1,7 @@
+2006-02-15  Alex Angas <address@hidden>
+
+       * src/engine/game.c: Compilation fix for non-Win32.
+
 2006-02-14  Alex Angas <address@hidden>
 
        * src/menu/game_select_init.c: Changed include "" to <>.

Modified: freesci/trunk/src/engine/game.c
===================================================================
--- freesci/trunk/src/engine/game.c     2006-02-14 18:24:46 UTC (rev 1554)
+++ freesci/trunk/src/engine/game.c     2006-02-15 10:21:07 UTC (rev 1555)
@@ -25,16 +25,17 @@
 
 ***************************************************************************/
 
-/* Attempt to guess if recent version of Platform SDK */
-#if _MSC_VER < 1300
-#      pragma message("******************** IMPORTANT MESSAGE 
********************")
-#      pragma message("You must have installed a recent Platform and DirectX 
SDK")
-#      pragma message("for this build to be successful. Download MS SDKs 
from:")
-#      pragma message("www.microsoft.com/msdownload/platformsdk/sdkupdate")
-#      pragma 
message("***********************************************************")
-#      include <windows.h>
-#      if (WINVER < 0x500)
-#              error *** BUILD FAILED: Need more recent SDKs or fix your SDK 
paths in Tools Options ***
+#ifdef _MSC_VER
+#      if _MSC_VER < 1300
+#              pragma message("******************** IMPORTANT MESSAGE 
********************")
+#              pragma message("You must have installed a recent Platform and 
DirectX SDK")
+#              pragma message("for this build to be successful. Download MS 
SDKs from:")
+#              pragma 
message("www.microsoft.com/msdownload/platformsdk/sdkupdate")
+#              pragma 
message("***********************************************************")
+#              include <windows.h>
+#              if (WINVER < 0x500)
+#                      error *** BUILD FAILED: Need more recent SDKs or fix 
your SDK paths in Tools Options ***
+#              endif
 #      endif
 #endif
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]