diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/curl_setup_once.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_setup_once.h b/lib/curl_setup_once.h index 6f3240ac9..69d6d4790 100644 --- a/lib/curl_setup_once.h +++ b/lib/curl_setup_once.h @@ -440,7 +440,7 @@ typedef int sig_atomic_t; * (or equivalent) on this platform to hide platform details to code using it. */ -#ifdef WIN32 +#if defined(WIN32) && !defined(USE_LWIPSOCK) #define ERRNO ((int)GetLastError()) #define SET_ERRNO(x) (SetLastError((DWORD)(x))) #else |