]> git.defcon.no Git - rctxduino/commitdiff
Just added some lines so that it is possible to compile this for Windows too
authorHans Åge Martinsen <hamartin@moshwire.com>
Mon, 12 Sep 2011 21:05:25 +0000 (23:05 +0200)
committerHans Åge Martinsen <hamartin@moshwire.com>
Mon, 12 Sep 2011 21:05:25 +0000 (23:05 +0200)
tools/jstt/main.cpp

index 61b9494caa224506aa6283d0a755b4ed119d51fa..e1ede77a54cdb5bc36db9b7af4d5022be7a20bcc 100644 (file)
@@ -1,6 +1,10 @@
 #include <QtGui/QApplication>
 #include "jstt.h"
 
+#ifdef SDL_WIN
+    #undef main
+#endif
+
 int main(int argc, char *argv[])
 {
     QApplication a(argc, argv);