sleep is no longer defined in mingw.

This commit is contained in:
jgarcia 2008-01-26 15:04:34 +00:00
parent 2dcf1fd82f
commit fbd99f41f2

View file

@ -229,7 +229,7 @@ mp_process_yield(void)
#ifdef HAVE_SCHED_YIELD
sched_yield();
#else
sleep(0); /* Use sleep(0) to yield to a >= priority thread */
Sleep(0); /* Use sleep(0) to yield to a >= priority thread */
#endif
@(return)
}