mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-26 07:25:25 +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())
|
#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 */
|
/* maps WSAError to errno */
|
||||||
static
|
static
|
||||||
int errno_from_WSAError(int wsaerrno)
|
int errno_from_WSAError(int wsaerrno)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user