diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2016-11-03 05:20:26 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2017-01-12 17:13:19 +0100 |
commit | 65483d57bf322f847ecb1ab906e8f4fac49f2557 (patch) | |
tree | 908e83375a4b6b416b6e7678869802cf322815b0 /platform/uwp | |
parent | ad224295c0a24a0588351c4ab750e43867bcdde9 (diff) |
Improvements to scons defined WINVER/_WIN32_WINNT
Diffstat (limited to 'platform/uwp')
-rw-r--r-- | platform/uwp/detect.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/uwp/detect.py b/platform/uwp/detect.py index 6eb4ca9caa..f1e0716241 100644 --- a/platform/uwp/detect.py +++ b/platform/uwp/detect.py @@ -145,9 +145,13 @@ def configure(env): env.Append(CCFLAGS=['/DGLES2_ENABLED', '/DGL_GLEXT_PROTOTYPES', '/DEGL_EGLEXT_PROTOTYPES', '/DANGLE_ENABLED']) + winver = "0x0602" # Windows 8 is the minimum target for UWP build + env.Append(CCFLAGS=['/DWINVER=%s' % winver, '/D_WIN32_WINNT=%s' % winver]) + LIBS = [ 'WindowsApp', 'mincore', + 'ws2_32', 'libANGLE', 'libEGL', 'libGLESv2', |