mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.
(cherry picked from commit f695de7c68)
This commit is contained in:
parent
02d383bf94
commit
620eb48547
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@ if env["builtin_miniupnpc"]:
|
|||
|
||||
env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
||||
if env["platform"] != "windows":
|
||||
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
||||
|
||||
env_thirdparty = env_upnp.Clone()
|
||||
env_thirdparty.disable_warnings()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue