diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-11 16:01:16 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-11 16:01:16 +0000 |
commit | e150150d9f1e0578c85af05de15ab6336066cec1 (patch) | |
tree | 7ccad4887ea68afc2ce0503b4fa7a913fdd40d60 /lib/url.c | |
parent | 943f0733bb187dfacdfdc23806ab030cee97c9fc (diff) |
Remove redundant __CYGWIN__ symbol check
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -38,7 +38,7 @@ #endif #include <errno.h> -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 #include <time.h> #include <io.h> #else @@ -165,9 +165,10 @@ static void signalPipeClose(struct curl_llist *pipe); #define MAX_PIPELINE_LENGTH 5 #ifndef USE_ARES -/* not for Win32, unless it is cygwin - not for ares builds */ -#if !defined(WIN32) || defined(__CYGWIN__) +/* not for ares builds */ + +#ifndef WIN32 +/* not for WIN32 builds */ #ifndef RETSIGTYPE #define RETSIGTYPE void @@ -187,8 +188,8 @@ RETSIGTYPE alarmfunc(int sig) #endif return; } -#endif #endif /* SIGALRM */ +#endif /* WIN32 */ #endif /* USE_ARES */ void Curl_safefree(void *ptr) |