You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.
This commit is contained in:
@@ -30,6 +30,7 @@ if env["builtin_miniupnpc"]:
|
|||||||
|
|
||||||
env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
||||||
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
|
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
|
||||||
|
if env["platform"] != "windows":
|
||||||
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])
|
||||||
|
|
||||||
env_thirdparty = env_upnp.Clone()
|
env_thirdparty = env_upnp.Clone()
|
||||||
|
|||||||
Reference in New Issue
Block a user