Commit 8451623b authored by Marc Hoersken's avatar Marc Hoersken
Browse files

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

parent 0a568867
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;