summaryrefslogtreecommitdiff
path: root/platform/uwp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/uwp')
-rw-r--r--platform/uwp/detect.py4
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',