From 65483d57bf322f847ecb1ab906e8f4fac49f2557 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 3 Nov 2016 05:20:26 +0100 Subject: Improvements to scons defined WINVER/_WIN32_WINNT --- platform/uwp/detect.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'platform/uwp') 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', -- cgit v1.2.3