// --- ---------- -------------------------------------------------------------
// 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[])
{