summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-03-05 22:52:15 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-03-05 22:52:15 +0000
commitffaa723f87d973a6c05be0765a2caf98b1b3a9b4 (patch)
treee9e711492afc26ed1d4756f215531dee904b4ddb
parentPatch from Fridrich - LP #520532 (diff)
downloadinkscape-ffaa723f87d973a6c05be0765a2caf98b1b3a9b4.tar.gz
inkscape-ffaa723f87d973a6c05be0765a2caf98b1b3a9b4.zip
Adjust Windows build after fixing LP #520532
(bzr r9150)
-rw-r--r--build.xml2
-rw-r--r--src/winmain.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 61cd10744..524ef8b9c 100644
--- a/build.xml
+++ b/build.xml
@@ -480,7 +480,6 @@
stripcommand="${archutil}strip"
objcopycommand="${archutil}objcopy">
<flags>
- -mconsole
-mthreads
</flags>
<fileset dir="${build}">
@@ -536,7 +535,6 @@
stripcommand="${archutil}strip"
objcopycommand="${archutil}objcopy">
<flags>
- -mconsole
-mthreads
</flags>
<fileset dir="${build}">
diff --git a/src/winmain.cpp b/src/winmain.cpp
index 4fde2c574..752ab8e6b 100644
--- a/src/winmain.cpp
+++ b/src/winmain.cpp
@@ -8,6 +8,7 @@
#ifdef G_OS_WIN32
#undef DATADIR
+#include <stdio.h>
#include <io.h>
#include <conio.h>
#define _WIN32_WINNT 0x0501