diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/if2ip.c | 2 | ||||
-rw-r--r-- | lib/url.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c index dc3138a01..87ead2b9e 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -32,7 +32,7 @@ #include <unistd.h> #endif -#if ! defined(WIN32) && ! defined(__BEOS__) +#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__) #ifdef NEED_REENTRANT #define _REENTRANT @@ -533,7 +533,7 @@ CURLcode curl_setopt(CURL *curl, CURLoption option, ...) return CURLE_OK; } -#ifndef WIN32 +#if !defined(WIN32)||defined(__CYGWIN32__) #ifndef RETSIGTYPE #define RETSIGTYPE void #endif @@ -1306,7 +1306,7 @@ static CURLcode _connect(CURL *curl, CURLconnect **in_connect) conn->serv_addr.sin_family = conn->hp->h_addrtype; conn->serv_addr.sin_port = htons(data->port); -#ifndef WIN32 +#if !defined(WIN32)||defined(__CYGWIN32__) /* We don't generally like checking for OS-versions, we should make this HAVE_XXXX based, although at the moment I don't have a decent test for this! */ |