Skip to content

Commit

Permalink
[Windows] Missing 'sleep()' for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanem committed Jan 13, 2023
1 parent 521da2d commit d795c1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/libtest/lib2304.c
Expand Up @@ -26,6 +26,10 @@

#ifdef USE_WEBSOCKETS

#if defined(WIN32) || defined(_WIN32)
#define sleep(sec) Sleep ((sec)*1000)
#endif

static int ping(CURL *curl, const char *send_payload)
{
size_t sent;
Expand Down

0 comments on commit d795c1d

Please sign in to comment.