1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #91636 from akien-mga/miniupnpc-disable-SET_SOCKET_TIMEOUT

miniupnpc: Disable socket timeout on Windows, matching upstream
This commit is contained in:
Rémi Verschelde
2024-05-07 09:04:51 +02:00

View File

@@ -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()