From fbd99f41f263d7428cdcd79f99b211e375f0722a Mon Sep 17 00:00:00 2001 From: jgarcia Date: Sat, 26 Jan 2008 15:04:34 +0000 Subject: [PATCH] sleep is no longer defined in mingw. --- src/c/threads_win32.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/threads_win32.d b/src/c/threads_win32.d index b84f7f48c..db99e264d 100644 --- a/src/c/threads_win32.d +++ b/src/c/threads_win32.d @@ -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) }