aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/first.c
diff options
context:
space:
mode:
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..782daca17 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
+#ifdef USE_WINSOCK
/* Winsock doesn't like no socket set in 'rd', 'wr' or 'exc'. This is
* case when 'num_fds <= 0. So sleep.
*/