mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 08:59:35 +01:00
(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.
This commit is contained in:
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
Block a user