From e1b04106f8cf3cf2a0b5284ddc048ea621ce94c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 30 Dec 2021 12:01:57 +0100 Subject: [PATCH] examples/multi-single.c: remove WAITMS() As it isn't used. Reported-by: Melroy van den Berg Fixes #8200 Closes #8201 --- docs/examples/multi-single.c | 9 --------- 1 file changed, 9 deletions(-) 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. */