From 94cd7dd04a061f0c256ae3ade78bfe3cb5507dcf Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 29 Sep 2007 11:40:31 +0000 Subject: 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 --- tools/skycpt/AsciiCptCompile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools/skycpt') 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 // -- cgit v1.2.3