(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
michi_cc 14 years ago
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…
Cancel
Save