summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-04 13:51:36 +0100
committerMichael Stahl <mstahl@redhat.com>2015-03-05 15:36:46 +0100
commitd8dd6db19a9a37072a0dfbfc94f3690750ebd219 (patch)
tree4c8a7f92601646e9f3ecdbd977ca3d03adb4f85b /solenv
parentfe045dca6124c9627c1cfa9dac4072ae75292910 (diff)
gbuild: set _WIN32_WINNT globally instead of WINVER
... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/windows.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk
index cd71cff38401..5602a0379119 100644
--- a/solenv/gbuild/platform/windows.mk
+++ b/solenv/gbuild/platform/windows.mk
@@ -20,11 +20,12 @@ gb_Helper_LIBRARY_PATH_VAR := PATH
gb_MKTEMP := mktemp --tmpdir=$(gb_TMPDIR) gbuild.XXXXXX
+# define _WIN32_WINNT and WINVER will be derived from it in sdkddkver.h
# currently _WIN32_IE is defined to a higher version than would be derived
# in sdkddkver.h from _WIN32_WINNT=0x0502 but if _WIN32_WINNT >= 0x0600
# the derived value is sufficient
gb_OSDEFS := \
- -DWINVER=0x0502 \
+ -D_WIN32_WINNT=0x0502 \
-D_WIN32_IE=0x0700 \
-DWIN32 \
-DWNT \