aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat
diff options
context:
space:
mode:
authorJohannes Schickel2007-09-29 11:40:31 +0000
committerJohannes Schickel2007-09-29 11:40:31 +0000
commit94cd7dd04a061f0c256ae3ade78bfe3cb5507dcf (patch)
tree9aaf30512867932e39c1ef01555308193670bba0 /tools/create_kyradat
parent41fb38e05e977749d26220a1ecc1c4b6abedd023 (diff)
downloadscummvm-rg350-94cd7dd04a061f0c256ae3ade78bfe3cb5507dcf.tar.gz
scummvm-rg350-94cd7dd04a061f0c256ae3ade78bfe3cb5507dcf.tar.bz2
scummvm-rg350-94cd7dd04a061f0c256ae3ade78bfe3cb5507dcf.zip
Added a hack for the tools to allow building on MinGW with SDL backend. (see bug #1800764 "TOOLS: MinGW tools building broken")
svn-id: r29131
Diffstat (limited to 'tools/create_kyradat')
-rw-r--r--tools/create_kyradat/create_kyradat.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/create_kyradat/create_kyradat.cpp b/tools/create_kyradat/create_kyradat.cpp
index a54d18f592..fe581edf8c 100644
--- a/tools/create_kyradat/create_kyradat.cpp
+++ b/tools/create_kyradat/create_kyradat.cpp
@@ -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"