implement mzrt_sleep() for Windows

This commit is contained in:
Matthew Flatt 2011-05-13 07:27:32 -06:00
parent 70a0b741b0
commit 5f1cd1a381

View File

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