From: Marc Hoersken Date: Fri, 14 Feb 2014 21:17:54 +0000 (+0100) Subject: lib1515.c: Added support for Windows using the Sleep function X-Git-Tag: curl-7_36_0~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8451623b4557b03b349fa60f627ffa83951a854b;p=curl lib1515.c: Added support for Windows using the Sleep function --- diff --git a/tests/libtest/lib1515.c b/tests/libtest/lib1515.c index 943937a34..d5c8f7d08 100644 --- a/tests/libtest/lib1515.c +++ b/tests/libtest/lib1515.c @@ -35,6 +35,10 @@ #define DNS_TIMEOUT 1 +#if defined(WIN32) || defined(_WIN32) +#define sleep(s) Sleep(s * 1000) +#endif + static int debug_callback(CURL *curl, curl_infotype info, char *msg, size_t len, void *ptr) { (void)curl;