From: Daniel Stenberg Date: Thu, 30 Dec 2021 11:01:57 +0000 (+0100) Subject: examples/multi-single.c: remove WAITMS() X-Git-Tag: curl-7_81_0~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1b04106f8cf3cf2a0b5284ddc048ea621ce94c9;p=thirdparty%2Fcurl.git examples/multi-single.c: remove WAITMS() As it isn't used. Reported-by: Melroy van den Berg Fixes #8200 Closes #8201 --- diff --git a/docs/examples/multi-single.c b/docs/examples/multi-single.c index ec27da1ed2..d7d1fb3ed0 100644 --- a/docs/examples/multi-single.c +++ b/docs/examples/multi-single.c @@ -34,15 +34,6 @@ /* curl stuff */ #include -#ifdef _WIN32 -#define WAITMS(x) Sleep(x) -#else -/* Portable sleep for platforms other than Windows. */ -#define WAITMS(x) \ - struct timeval wait = { 0, (x) * 1000 }; \ - (void)select(0, NULL, NULL, NULL, &wait) -#endif - /* * Simply download a HTTP file. */