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 /tests/libtest | |
parent | 943f0733bb187dfacdfdc23806ab030cee97c9fc (diff) |
Remove redundant __CYGWIN__ symbol check
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/first.c | 2 | ||||
-rw-r--r-- | tests/libtest/lib518.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c index 8050537db..fda1a7fb5 100644 --- a/tests/libtest/first.c +++ b/tests/libtest/first.c @@ -12,7 +12,7 @@ int test(char *url); int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc, struct timeval *tv) { -#if defined(WIN32) && !defined(__CYGWIN__) +#ifdef WIN32 /* Winsock doesn't like no socket set in 'rd', 'wr' or 'exc'. This is * case when 'num_fds <= 0. So sleep. */ diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c index d0c200774..1c858ee35 100644 --- a/tests/libtest/lib518.c +++ b/tests/libtest/lib518.c @@ -32,7 +32,7 @@ #define NUM_OPEN (FD_SETSIZE + 10) #define NUM_NEEDED (NUM_OPEN + 16) -#if (defined(WIN32) || defined(_WIN32) || defined(MSDOS)) && !defined(__CYGWIN__) +#if defined(WIN32) || defined(_WIN32) || defined(MSDOS) #define DEV_NULL "NUL" #else #define DEV_NULL "/dev/null" |