]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib670: use the same Win32 API check as all other lib tests
authorMarc Hoersken <info@marc-hoersken.de>
Sun, 5 Apr 2020 16:25:03 +0000 (18:25 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Sun, 5 Apr 2020 16:25:03 +0000 (18:25 +0200)
tests/libtest/lib670.c

index 2e60407145988fb09ecc7e1537afa7c2a18db51d..aecb1c01f2f941f901fa6f03c4da2cda3464799b 100644 (file)
@@ -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