Code

Adjust Windows build after fixing LP #520532
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Fri, 5 Mar 2010 22:52:15 +0000 (23:52 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Fri, 5 Mar 2010 22:52:15 +0000 (23:52 +0100)
build.xml
src/winmain.cpp

index 61cd10744814492717c1495069388dc160f4522c..524ef8b9c515f1999090526001f8a18e66455577 100644 (file)
--- a/build.xml
+++ b/build.xml
               stripcommand="${archutil}strip"
               objcopycommand="${archutil}objcopy">
        <flags>
-           -mconsole
            -mthreads
        </flags>
        <fileset dir="${build}">
               stripcommand="${archutil}strip"
               objcopycommand="${archutil}objcopy">
        <flags>
-           -mconsole
            -mthreads
        </flags>
        <fileset dir="${build}">
index 4fde2c5748ade9eefa3483a669e237c9f26ecea6..752ab8e6bf6042cb61ad1c3f7cb23db9f6302aed 100644 (file)
@@ -8,6 +8,7 @@
 #ifdef G_OS_WIN32
 #undef DATADIR
 
+#include <stdio.h>
 #include <io.h>
 #include <conio.h>
 #define _WIN32_WINNT 0x0501