Ensure functionality without _MSC_VER definition

This commit is contained in:
windyakin 2023-06-05 15:31:42 +09:00 committed by Michael Grunder
parent ded32c7d1a
commit 052f99ab2d

2
test.c
View File

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