win32/build.py: add -DWINVER=0x0600 -D_WIN32_WINNT=0x0600
configure.ac sets this, but this wasn't used for compiling third-party libraries. This setting however is important for libnfs, which adds fallback definitions for POLLIN and POLLOUT with bogus values.
This commit is contained in:
parent
31794ac376
commit
666e456551
|
@ -58,7 +58,8 @@ class CrossGccToolchain:
|
||||||
|
|
||||||
self.cflags = common_flags
|
self.cflags = common_flags
|
||||||
self.cxxflags = 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.ldflags = '-L' + os.path.join(install_prefix, 'lib')
|
||||||
self.libs = ''
|
self.libs = ''
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue