Skip to content

Commit

Permalink
Ensure functionality without _MSC_VER definition
Browse files Browse the repository at this point in the history
  • Loading branch information
windyakin authored and michael-grunder committed Jun 8, 2023
1 parent ded32c7 commit 052f99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ static int tests = 0, fails = 0, skips = 0;

static void millisleep(int ms)
{
#if _MSC_VER
#ifdef _MSC_VER
Sleep(ms);
#else
usleep(ms*1000);
Expand Down

0 comments on commit 052f99a

Please sign in to comment.