diff options
author | Rechi <Rechi@users.noreply.github.com> | 2018-08-25 08:00:00 +0200 |
---|---|---|
committer | Rechi <Rechi@users.noreply.github.com> | 2018-08-25 08:00:00 +0200 |
commit | b5fa620ee1bc106390cd91b27804ea36c0935eb9 (patch) | |
tree | babd21503af4fe9d13cae7308a474851eec56ac1 /lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch | |
parent | 471a13a17714fce76c5ed26600bbe6003dcee7c5 (diff) |
[libUPnP] fix device discovery on windows
Diffstat (limited to 'lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch')
-rw-r--r-- | lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch b/lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch new file mode 100644 index 0000000000..391ee3b302 --- /dev/null +++ b/lib/libUPnP/patches/0047-neptune-fix-device-discovery-on-windows.patch @@ -0,0 +1,49 @@ +--- a/lib/libUPnP/Neptune/Source/System/Bsd/NptBsdSockets.cpp ++++ b/lib/libUPnP/Neptune/Source/System/Bsd/NptBsdSockets.cpp +@@ -131,46 +131,19 @@ + #undef SetPort + #endif + +-#if !defined(EWOULDBLOCK) + #define EWOULDBLOCK WSAEWOULDBLOCK +-#endif +-#if !defined(EINPROGRESS) + #define EINPROGRESS WSAEINPROGRESS +-#endif +-#if !defined(ECONNREFUSED) + #define ECONNREFUSED WSAECONNREFUSED +-#endif +-#if !defined(ECONNABORTED) + #define ECONNABORTED WSAECONNABORTED +-#endif +-#if !defined(ECONNRESET) + #define ECONNRESET WSAECONNRESET +-#endif +-#if !defined(ETIMEDOUT) + #define ETIMEDOUT WSAETIMEDOUT +-#endif +-#if !defined(ENETRESET) + #define ENETRESET WSAENETRESET +-#endif +-#if !defined(EADDRINUSE) + #define EADDRINUSE WSAEADDRINUSE +-#endif +-#if !defined(ENETDOWN) + #define ENETDOWN WSAENETDOWN +-#endif +-#if !defined(ENETUNREACH) + #define ENETUNREACH WSAENETUNREACH +-#endif +-#if !defined(EHOSTUNREACH) +-#define EHOSTUNREACH WSAEHOSTUNREACH +-#endif +-#if !defined(ENOTCONN) + #define ENOTCONN WSAENOTCONN +-#endif + #if !defined(EAGAIN) + #define EAGAIN WSAEWOULDBLOCK +-#endif +-#if !defined(EINTR) + #define EINTR WSAEINTR + #endif + #if !defined(SHUT_RDWR) |