aboutsummaryrefslogtreecommitdiff
path: root/tools/skycpt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skycpt')
-rw-r--r--tools/skycpt/AsciiCptCompile.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/skycpt/AsciiCptCompile.cpp b/tools/skycpt/AsciiCptCompile.cpp
index 15434262b2..6ba5af9867 100644
--- a/tools/skycpt/AsciiCptCompile.cpp
+++ b/tools/skycpt/AsciiCptCompile.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
+
// AsciiCptCompile.cpp
//