mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-03 22:55:55 +01:00
miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471. (cherry picked from commit f695de7c68e373088175f8f3b1650f11a27be7aa)
This commit is contained in:
parent
d571432221
commit
2936883335
@ -30,6 +30,7 @@ if env["builtin_miniupnpc"]:
|
||||
|
||||
env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
|
||||
if env["platform"] != "windows":
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
||||
|
||||
env_thirdparty = env_upnp.Clone()
|
||||
|
Loading…
Reference in New Issue
Block a user