diff options
| author | Rémi Verschelde | 2017-01-08 20:41:11 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-01-12 19:15:30 +0100 |
| commit | d66740175eef6f67f2edb364533fa71eaad5ceb7 (patch) | |
| tree | b4daa3744d7c39a9366344b63e4bd53840903293 /drivers | |
| parent | 5672852351d9d47c848bafad14bb031f176b8558 (diff) | |
| download | godot-d66740175eef6f67f2edb364533fa71eaad5ceb7.tar.gz godot-d66740175eef6f67f2edb364533fa71eaad5ceb7.tar.zst godot-d66740175eef6f67f2edb364533fa71eaad5ceb7.zip | |
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/unix/ip_unix.cpp | 12 | ||||
| -rw-r--r-- | drivers/windows/file_access_windows.cpp | 2 |
2 files changed, 3 insertions, 11 deletions
diff --git a/drivers/unix/ip_unix.cpp b/drivers/unix/ip_unix.cpp index 200eb1dd2..ed11c0686 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 WINRT_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 WINRT_ENABLED + #include <iphlpapi.h> + #endif #else #include <netdb.h> #ifdef ANDROID_ENABLED diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp index 73beb89eb..c9edb7b09 100644 --- a/drivers/windows/file_access_windows.cpp +++ b/drivers/windows/file_access_windows.cpp @@ -28,8 +28,6 @@ /*************************************************************************/ #ifdef WINDOWS_ENABLED -#define WINVER 0x0500 - #include <windows.h> #include "shlwapi.h" #include "file_access_windows.h" |
