diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-10-25 16:25:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 16:25:53 +0200 |
commit | b72baf2ca26cad61cd7610283912d6cca4d94dc9 (patch) | |
tree | f2ccaf5b1a6e2eb615f594534ed19f38d27df706 | |
parent | 96f92e5bfad26639e1c6af74e8872f049170a767 (diff) | |
parent | c8c8f1b8a49e10a4f3e5855797c2d1d6dec96b7d (diff) |
Merge pull request #33064 from yeonghoey/mingw-secure-api-32
Specify MINGW_HAS_SECURE_API=1
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index f4390a9882..9a2b2bcb98 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -350,7 +350,7 @@ def configure_mingw(env): env.Append(CPPDEFINES=[('WINVER', env['target_win_version']), ('_WIN32_WINNT', env['target_win_version'])]) env.Append(LIBS=['mingw32', 'opengl32', 'dsound', 'ole32', 'd3d9', 'winmm', 'gdi32', 'iphlpapi', 'shlwapi', 'wsock32', 'ws2_32', 'kernel32', 'oleaut32', 'dinput8', 'dxguid', 'ksuser', 'imm32', 'bcrypt', 'avrt', 'uuid']) - env.Append(CPPDEFINES=['MINGW_ENABLED']) + env.Append(CPPDEFINES=['MINGW_ENABLED', ('MINGW_HAS_SECURE_API', 1)]) # resrc env.Append(BUILDERS={'RES': env.Builder(action=build_res_file, suffix='.o', src_suffix='.rc')}) |