1 #ifndef WIN32_ERRNOWRAPPER_H_
2 #define WIN32_ERRNOWRAPPER_H_
5 #define errno WSAGetLastError()
11 #define EWOULDBLOCK WSAEWOULDBLOCK
12 #define EAGAIN WSAEWOULDBLOCK //same on windows
13 #define EINTR WSAEINTR
14 #define EINPROGRESS WSAEINPROGRESS
15 #endif //WIN32_ERRNOWRAPPER_H_