[Scummvm-cvs-logs] SF.net SVN: scummvm: [29131] scummvm/trunk/tools

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Sep 29 13:40:31 CEST 2007


Revision: 29131
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29131&view=rev
Author:   lordhoto
Date:     2007-09-29 04:40:31 -0700 (Sat, 29 Sep 2007)

Log Message:
-----------
Added a hack for the tools to allow building on MinGW with SDL backend. (see bug #1800764 "TOOLS: MinGW tools building broken")

Modified Paths:
--------------
    scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
    scummvm/trunk/tools/create_lure/create_lure_dat.cpp
    scummvm/trunk/tools/qtable/qtable.c
    scummvm/trunk/tools/skycpt/AsciiCptCompile.cpp

Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2007-09-29 11:20:07 UTC (rev 29130)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp	2007-09-29 11:40:31 UTC (rev 29131)
@@ -20,6 +20,12 @@
  *
  */
 
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
+
 #include "create_kyradat.h"
 
 #include "md5.h"

Modified: scummvm/trunk/tools/create_lure/create_lure_dat.cpp
===================================================================
--- scummvm/trunk/tools/create_lure/create_lure_dat.cpp	2007-09-29 11:20:07 UTC (rev 29130)
+++ scummvm/trunk/tools/create_lure/create_lure_dat.cpp	2007-09-29 11:40:31 UTC (rev 29131)
@@ -27,6 +27,12 @@
  * to work properly
  */
 
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Modified: scummvm/trunk/tools/qtable/qtable.c
===================================================================
--- scummvm/trunk/tools/qtable/qtable.c	2007-09-29 11:20:07 UTC (rev 29130)
+++ scummvm/trunk/tools/qtable/qtable.c	2007-09-29 11:40:31 UTC (rev 29131)
@@ -1,3 +1,8 @@
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
 
 #include <stdio.h>
 #include <stdlib.h>

Modified: scummvm/trunk/tools/skycpt/AsciiCptCompile.cpp
===================================================================
--- scummvm/trunk/tools/skycpt/AsciiCptCompile.cpp	2007-09-29 11:20:07 UTC (rev 29130)
+++ scummvm/trunk/tools/skycpt/AsciiCptCompile.cpp	2007-09-29 11:40:31 UTC (rev 29131)
@@ -20,6 +20,12 @@
  *
  */
 
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
+
 // AsciiCptCompile.cpp
 //
 


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