Merge pull request #2267 from JayFoxRox/fix-mingw-cc
Support mingw cross-compilation
This commit is contained in:
commit
2589c30cbe
9 changed files with 11 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue