protect Unix-specific code with #ifdef
svn: r9241
This commit is contained in:
parent
34aea6f7ad
commit
ff98bea44a
|
@ -3458,8 +3458,10 @@ static int check_sleep(int need_activity, int sleep_now)
|
||||||
if (needs_sleep_cancelled)
|
if (needs_sleep_cancelled)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
#if defined(UNIX_PROCESSES)
|
||||||
if (scheme_check_child_done())
|
if (scheme_check_child_done())
|
||||||
return 0;
|
return 0;
|
||||||
|
# endif
|
||||||
|
|
||||||
if (post_system_idle()) {
|
if (post_system_idle()) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user