summaryrefslogtreecommitdiff
path: root/win32/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'win32/build.py')
-rwxr-xr-xwin32/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/build.py b/win32/build.py
index 45c5dfa4c..8b0a3fc71 100755
--- a/win32/build.py
+++ b/win32/build.py
@@ -58,7 +58,8 @@ class CrossGccToolchain:
self.cflags = common_flags
self.cxxflags = common_flags
- self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include')
+ self.cppflags = '-isystem ' + os.path.join(install_prefix, 'include') + \
+ ' -DWINVER=0x0600 -D_WIN32_WINNT=0x0600'
self.ldflags = '-L' + os.path.join(install_prefix, 'lib')
self.libs = ''