]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/app.cpp
Added BIOS and DSP options to configure dialog.
[virtualjaguar] / src / gui / app.cpp
index 1e36fe4c6450b2d515276aa2d039a0e19fe09aa9..b313f66c6eba21bc35b76fd25b5af6151668a565 100644 (file)
@@ -10,6 +10,7 @@
 // ---  ----------  -------------------------------------------------------------
 // JLH  12/23/2009  Created this file
 // JLH  01/21/2011  Added SDL initialization
+// JLH  06/26/2011  Added fix to keep SDL from hijacking main() on win32
 //
 
 #include "app.h"
 #include "mainwin.h"
 #include "types.h"
 
+#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[])
 {