improve Windows detection
This commit is contained in:
parent
ba8d2f0702
commit
45feb3fe1d
2
util.c
2
util.c
@ -9,7 +9,7 @@
|
||||
#endif
|
||||
|
||||
void sleep_secs(double secs) {
|
||||
#ifdef WIN32
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
Sleep(secs * 1000.0);
|
||||
#else
|
||||
struct timespec ts;
|
||||
|
Loading…
Reference in New Issue
Block a user