summaryrefslogtreecommitdiffstats
path: root/src/winmain.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-26 01:00:24 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-26 01:00:24 +0000
commita5c919f46c359f26433cb42a82bb99fbb729a467 (patch)
treea9d00aafdfa2cb160257d25ebeae78f6a6d6ca30 /src/winmain.cpp
parenttiny bugfix for Taper Strokes (diff)
parentmake it easier for people to build with -Werror on Windows (diff)
downloadinkscape-a5c919f46c359f26433cb42a82bb99fbb729a467.tar.gz
inkscape-a5c919f46c359f26433cb42a82bb99fbb729a467.zip
Update to trunk
Massive cleanup of outlining code (bzr r13090.1.31)
Diffstat (limited to 'src/winmain.cpp')
-rw-r--r--src/winmain.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/winmain.cpp b/src/winmain.cpp
index 607660740..5120e44e0 100644
--- a/src/winmain.cpp
+++ b/src/winmain.cpp
@@ -11,7 +11,12 @@
#include <stdio.h>
#include <io.h>
#include <conio.h>
-#define _WIN32_WINNT 0x0501
+
+#if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501)
+# undef _WIN32_WINNT
+# define _WIN32_WINNT 0x0501
+#endif
+
#include <windows.h>
extern int main (int argc, char **argv);