Skip to content

Commit

Permalink
Merge pull request #33064 from yeonghoey/mingw-secure-api-32
Browse files Browse the repository at this point in the history
Specify MINGW_HAS_SECURE_API=1
  • Loading branch information
akien-mga authored Oct 25, 2019
2 parents 96f92e5 + c8c8f1b commit b72baf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')})
Expand Down

0 comments on commit b72baf2

Please sign in to comment.