aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/first.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-09-12 01:17:16 +0000
committerYang Tse <yangsita@gmail.com>2006-09-12 01:17:16 +0000
commit5a6c89661a96fa2139fa0cff07de2f2eff369127 (patch)
tree33e8ddce843f05985fdf866ef6a510c685528429 /tests/libtest/first.c
parent7c5745720aca27f38dc875a39d43cc3aba189471 (diff)
Cygwin preprocessor adjustments
Diffstat (limited to 'tests/libtest/first.c')
-rw-r--r--tests/libtest/first.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c
index fda1a7fb5..8050537db 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)
{
-#ifdef WIN32
+#if defined(WIN32) && !defined(__CYGWIN__)
/* Winsock doesn't like no socket set in 'rd', 'wr' or 'exc'. This is
* case when 'num_fds <= 0. So sleep.
*/