aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix/ip_unix.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-08 20:41:11 +0100
committerRémi Verschelde2017-01-08 20:41:26 +0100
commit6323779596dea0db7f58afef7d3d3d5588ef20cb (patch)
tree92bdd7947486ddb6820eb0225d6b345ee69ac432 /drivers/unix/ip_unix.cpp
parent920947f297ff3b8d959d15c8e15e7a28dcbdb08f (diff)
downloadgodot-6323779596dea0db7f58afef7d3d3d5588ef20cb.tar.gz
godot-6323779596dea0db7f58afef7d3d3d5588ef20cb.tar.zst
godot-6323779596dea0db7f58afef7d3d3d5588ef20cb.zip
Diffstat (limited to 'drivers/unix/ip_unix.cpp')
-rw-r--r--drivers/unix/ip_unix.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp
index 0ebd59395..e75408e49 100644
--- a/drivers/unix/ip_unix.cpp
+++ b/drivers/unix/ip_unix.cpp
@@ -37,19 +37,13 @@
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG 0x00000400
#endif
- #ifdef UWP_ENABLED
#include <ws2tcpip.h>
#include <winsock2.h>
#include <windows.h>
#include <stdio.h>
- #else
- #define WINVER 0x0600
- #include <ws2tcpip.h>
- #include <winsock2.h>
- #include <windows.h>
- #include <stdio.h>
- #include <iphlpapi.h>
- #endif
+ #ifndef UWP_ENABLED
+ #include <iphlpapi.h>
+ #endif
#else
#include <netdb.h>
#ifdef ANDROID_ENABLED