mirror of
https://github.com/moparisthebest/curl
synced 2024-11-04 08:35:05 -05: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
|
#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)
|
static int debug_callback(CURL *curl, curl_infotype info, char *msg, size_t len, void *ptr)
|
||||||
{
|
{
|
||||||
(void)curl;
|
(void)curl;
|
||||||
|
Loading…
Reference in New Issue
Block a user