implement mzrt_sleep() for Windows
This commit is contained in:
parent
70a0b741b0
commit
5f1cd1a381
|
@ -110,6 +110,7 @@ void mzrt_set_segfault_debug_handler()
|
|||
void mzrt_sleep(int seconds)
|
||||
{
|
||||
#ifdef WIN32
|
||||
Sleep(seconds * 1000);
|
||||
#else
|
||||
struct timespec set;
|
||||
struct timespec rem;
|
||||
|
|
Loading…
Reference in New Issue
Block a user