summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-04-05 18:25:03 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-04-05 18:25:03 +0200
commitf50bc76c99bb6fd8be257de4c0544837d8f997b6 (patch)
treeb3a7f9e566395b9eeb60d8d53aae3e6fb5a18e5f
parent45b843cbb8b18a4474624e1bcce05171b845ac75 (diff)
downloadcurl-f50bc76c99bb6fd8be257de4c0544837d8f997b6.tar.gz
lib670: use the same Win32 API check as all other lib tests
-rw-r--r--tests/libtest/lib670.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib670.c b/tests/libtest/lib670.c
index 2e6040714..aecb1c01f 100644
--- a/tests/libtest/lib670.c
+++ b/tests/libtest/lib670.c
@@ -210,7 +210,7 @@ int test(char *URL)
mres = curl_multi_fdset(multi, &fdread, &fdwrite, &fdexcept, &maxfd);
if(mres)
break;
-#ifdef _WIN32
+#if defined(WIN32) || defined(_WIN32)
if(maxfd == -1)
Sleep(100);
else