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/strerror.c | |
parent | 943f0733bb187dfacdfdc23806ab030cee97c9fc (diff) | |
download | curl-e150150d9f1e0578c85af05de15ab6336066cec1.tar.gz |
Remove redundant __CYGWIN__ symbol check
Diffstat (limited to 'lib/strerror.c')
-rw-r--r-- | lib/strerror.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strerror.c b/lib/strerror.c index 0309e4ff7..5b01a2297 100644 --- a/lib/strerror.c +++ b/lib/strerror.c @@ -382,7 +382,7 @@ curl_share_strerror(CURLSHcode error) #endif } -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 /* This function handles most / all (?) Winsock errors cURL is able to produce. */ @@ -570,7 +570,7 @@ get_winsock_error (int err, char *buf, size_t len) buf [len-1] = '\0'; return buf; } -#endif /* WIN32 && !__CYGWIN__ */ +#endif /* WIN32 */ /* * Our thread-safe and smart strerror() replacement. @@ -595,7 +595,7 @@ const char *Curl_strerror(struct connectdata *conn, int err) max = sizeof(conn->syserr_buf)-1; *buf = '\0'; -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 #ifdef _WIN32_WCE buf[0]=0; |