diff options
Diffstat (limited to 'Utilities/cmcurl/lib/curl_setup_once.h')
-rw-r--r-- | Utilities/cmcurl/lib/curl_setup_once.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Utilities/cmcurl/lib/curl_setup_once.h b/Utilities/cmcurl/lib/curl_setup_once.h index 684187c..a5b542c 100644 --- a/Utilities/cmcurl/lib/curl_setup_once.h +++ b/Utilities/cmcurl/lib/curl_setup_once.h @@ -436,20 +436,6 @@ typedef int sig_atomic_t; /* - * Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno - * (or equivalent) on this platform to hide platform details to code using it. - */ - -#if defined(WIN32) && !defined(USE_LWIPSOCK) -#define ERRNO ((int)GetLastError()) -#define SET_ERRNO(x) (SetLastError((DWORD)(x))) -#else -#define ERRNO (errno) -#define SET_ERRNO(x) (errno = (x)) -#endif - - -/* * Portable error number symbolic names defined to Winsock error codes. */ |