From 4a991a25a92c196fea071bf62e05be86297364d3 Mon Sep 17 00:00:00 2001 From: manojampalam Date: Sun, 13 Mar 2016 23:25:50 -0700 Subject: [PATCH] removed redundant macros in socketio --- contrib/win32/win32compat/socketio.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/contrib/win32/win32compat/socketio.c b/contrib/win32/win32compat/socketio.c index 67e919b..074ea66 100644 --- a/contrib/win32/win32compat/socketio.c +++ b/contrib/win32/win32compat/socketio.c @@ -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)