From 5df4be11657fc49d74e1e6b39c0003f7cf2f3772 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 18 Oct 2006 21:05:40 +0000 Subject: Check for USE_WINSOCK instead of WIN32 where the check was done to verify winsock API availability. --- tests/libtest/first.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libtest') 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. */ -- cgit v1.2.3