lib1515.c: Added support for Windows using the Sleep function

This commit is contained in:
Marc Hoersken 2014-02-14 22:17:54 +01:00
parent 0a568867c0
commit 8451623b45
1 changed files with 4 additions and 0 deletions

View File

@ -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;