removed redundant macros in socketio

This commit is contained in:
manojampalam 2016-03-13 23:25:50 -07:00
parent 43873fe362
commit 4a991a25a9

View File

@ -41,24 +41,6 @@
#define errno_from_WSALastError() errno_from_WSAError(WSAGetLastError())
#ifdef WIN32_FIXME
//#define WIN32_PRAGMA_REMCON
#ifdef ECONNABORTED
#undef ECONNABORTED
#endif
#define ECONNABORTED WSAECONNABORTED
#ifdef ECONNREFUSED
#undef ECONNREFUSED
#endif
#define ECONNREFUSED WSAECONNREFUSED
#ifdef EINPROGRESS
#undef EINPROGRESS
#endif
#define EINPROGRESS WSAEINPROGRESS
#define _CRT_NO_POSIX_ERROR_CODES
#endif
/* maps WSAError to errno */
static
int errno_from_WSAError(int wsaerrno)