mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-25 06:55:15 +02:00
removed redundant macros in socketio
This commit is contained in:
parent
43873fe362
commit
4a991a25a9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user