protect Unix-specific code with #ifdef

svn: r9241
This commit is contained in:
Matthew Flatt 2008-04-10 20:15:19 +00:00
parent 34aea6f7ad
commit ff98bea44a

View File

@ -3458,8 +3458,10 @@ static int check_sleep(int need_activity, int sleep_now)
if (needs_sleep_cancelled)
return 0;
#if defined(UNIX_PROCESSES)
if (scheme_check_child_done())
return 0;
# endif
if (post_system_idle()) {
return 0;