mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
lib1515.c: Added support for Windows using the Sleep function
This commit is contained in:
parent
0a568867c0
commit
8451623b45
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user