]> Shamusworld >> Repos - virtualjaguar/commitdiff
Changed previous fix to be win32 only.
authorShamus Hammons <jlhamm@acm.org>
Mon, 27 Jun 2011 16:19:50 +0000 (16:19 +0000)
committerShamus Hammons <jlhamm@acm.org>
Mon, 27 Jun 2011 16:19:50 +0000 (16:19 +0000)
src/gui/app.cpp

index bb0f9243bf7e7f5471d2d446e26d4a69cf4913a4..82a4010160e8503f2969ff4c732ddccff2aa02cd 100644 (file)
 #include "mainwin.h"
 #include "types.h"
 
-// Apparently on other archs, SDL is hijacking main, so let's do this:
+#ifdef __GCCWIN32__
+// Apparently on win32, SDL is hijacking main from Qt. So let's do this:
 #undef main
+#endif
 
 // Here's the main application loop--short and simple...
 int main(int argc, char * argv[])