Improved compatibility - fix mingw crossbuild (#337)

This commit is contained in:
svost 2021-12-23 09:48:20 +03:00 committed by GitHub
parent 66cd29e747
commit 5457217503
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

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>

View File

@ -17,7 +17,7 @@
// Windows
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#endif
namespace ix

View File

@ -13,7 +13,7 @@
#include <string>
#ifdef _WIN32
#include <BaseTsd.h>
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif

View File

@ -15,7 +15,7 @@
#include <errno.h>
#include <vector>
#ifdef _WIN32
#include <Shlwapi.h>
#include <shlwapi.h>
#else
#include <fnmatch.h>
#endif

View File

@ -11,7 +11,7 @@
#include <string>
#ifdef _WIN32
#include <BaseTsd.h>
#include <basetsd.h>
typedef SSIZE_T ssize_t;
#endif