mirror of https://github.com/OpenTTD/OpenTTD
(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.
parent
0599cb67ce
commit
22357624ff
|
@ -22,11 +22,13 @@
|
|||
|
||||
/* Windows stuff */
|
||||
#if defined(WIN32) || defined(WIN64)
|
||||
#include <errno.h>
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
#include <windows.h>
|
||||
|
||||
#define GET_LAST_ERROR() WSAGetLastError()
|
||||
#undef EWOULDBLOCK
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
/* Windows has some different names for some types */
|
||||
typedef unsigned long in_addr_t;
|
||||
|
|
Loading…
Reference in New Issue