Improved compatibility - fix mingw crossbuild (#337)

This commit is contained in:
svost authored and GitHub committed 2021-12-22 22:48:20 -08:00
1 parent 66cd29e747
commit 5457217503
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@
#define WIN32_LEAN_AND_MEAN
#endif
#include <WS2tcpip.h>
#include <WinSock2.h>
#include <ws2tcpip.h>
#include <winsock2.h>
#include <basetsd.h>
#include <io.h>
#include <ws2def.h>
+1 -1
View File
@@ -17,7 +17,7 @@
// Windows
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#endif
namespace ix
+1 -1
View File
@@ -13,7 +13,7 @@
#include <string>
#ifdef _WIN32
#include <BaseTsd.h>
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif
+1 -1
View File
@@ -15,7 +15,7 @@
#include <errno.h>
#include <vector>
#ifdef _WIN32
#include <Shlwapi.h>
#include <shlwapi.h>
#else
#include <fnmatch.h>
#endif
+1 -1
View File
@@ -11,7 +11,7 @@
#include <string>
#ifdef _WIN32
#include <BaseTsd.h>
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif