Merge pull request #2267 from JayFoxRox/fix-mingw-cc

Support mingw cross-compilation
This commit is contained in:
Sebastian Valle 2016-12-11 14:44:21 -05:00 committed by GitHub
commit 2589c30cbe
9 changed files with 11 additions and 10 deletions

View file

@ -15,8 +15,8 @@
#include <fcntl.h>
#ifdef _WIN32
#include <WinSock2.h>
#include <common/x64/abi.h>
#include <winsock2.h>
// winsock2.h needs to be included first to prevent winsock.h being included by other includes
#include <io.h>
#include <iphlpapi.h>
#include <ws2tcpip.h>