diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-11-19 15:35:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 15:35:20 +0100 |
commit | 1db8cf0d81765c36775fe78a7464638d04ba9937 (patch) | |
tree | 82345233af5818bde62fdd6f8df122fe1dd46c3a /modules | |
parent | 42f8bfaff0dc5a94ca351b1eaadc42cb95655b87 (diff) | |
parent | 432ac521ef50ca41a81cffc1770cb46f72a422f6 (diff) |
Merge pull request #55117 from akien-mga/miniupnpc-2.2.3
miniupnpc: Update to version 2.2.3
Diffstat (limited to 'modules')
-rw-r--r-- | modules/upnp/SCsub | 4 | ||||
-rw-r--r-- | modules/upnp/upnp.cpp | 4 | ||||
-rw-r--r-- | modules/upnp/upnp.h | 2 | ||||
-rw-r--r-- | modules/upnp/upnp_device.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/upnp/SCsub b/modules/upnp/SCsub index b2fed0cb23..4b385b820d 100644 --- a/modules/upnp/SCsub +++ b/modules/upnp/SCsub @@ -26,9 +26,9 @@ if env["builtin_miniupnpc"]: "receivedata.c", "addr_is_reserved.c", ] - thirdparty_sources = [thirdparty_dir + "miniupnpc/" + file for file in thirdparty_sources] + thirdparty_sources = [thirdparty_dir + "src/" + file for file in thirdparty_sources] - env_upnp.Prepend(CPPPATH=[thirdparty_dir]) + env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"]) env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"]) env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"]) diff --git a/modules/upnp/upnp.cpp b/modules/upnp/upnp.cpp index 0e51822b01..88d92b0083 100644 --- a/modules/upnp/upnp.cpp +++ b/modules/upnp/upnp.cpp @@ -30,8 +30,8 @@ #include "upnp.h" -#include <miniupnpc/miniwget.h> -#include <miniupnpc/upnpcommands.h> +#include <miniwget.h> +#include <upnpcommands.h> #include <stdlib.h> diff --git a/modules/upnp/upnp.h b/modules/upnp/upnp.h index b961a9667f..67df187f8c 100644 --- a/modules/upnp/upnp.h +++ b/modules/upnp/upnp.h @@ -35,7 +35,7 @@ #include "upnp_device.h" -#include <miniupnpc/miniupnpc.h> +#include <miniupnpc.h> class UPNP : public RefCounted { GDCLASS(UPNP, RefCounted); diff --git a/modules/upnp/upnp_device.cpp b/modules/upnp/upnp_device.cpp index ddc66d593c..692a0f3509 100644 --- a/modules/upnp/upnp_device.cpp +++ b/modules/upnp/upnp_device.cpp @@ -32,7 +32,7 @@ #include "upnp.h" -#include <miniupnpc/upnpcommands.h> +#include <upnpcommands.h> String UPNPDevice::query_external_address() const { ERR_FAIL_COND_V_MSG(!is_valid_gateway(), "", "The Internet Gateway Device must be valid."); |