diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-12 14:31:31 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-09-13 02:26:54 +0200 |
commit | 75b2db8c5ffad982bd9c61809aea1369cc8df03f (patch) | |
tree | 2c9e3260c520a8366ac3529110b6518a226f5d24 /platform/windows/detect.py | |
parent | f438d311aef98a366b987608e5e5e5601d7cbbaa (diff) |
Fix libwebsockets 32-bits UWP builds.
Also fix bogus windows detect.py
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 150d418502..5d5af17086 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -208,8 +208,8 @@ def configure_msvc(env, manual_msvc_config): 'RTAUDIO_ENABLED', 'WASAPI_ENABLED', 'WINMIDI_ENABLED', 'TYPED_METHOD_BIND', 'WIN32', 'MSVC', - {'WINVER' : '$target_win_version', - '_WIN32_WINNT': '$target_win_version'}]) + 'WINVER=$target_win_version', + '_WIN32_WINNT=$target_win_version']) env.AppendUnique(CPPDEFINES=['NOMINMAX']) # disable bogus min/max WinDef.h macros if env["bits"] == "64": env.AppendUnique(CPPDEFINES=['_WIN64']) |