mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:03:39 +03:00
lib1515.c: Added support for Windows using the Sleep function
This commit is contained in:
parent
0a568867c0
commit
8451623b45
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue