Mercurial > hg > xemacs-beta
diff src/event-stream.c @ 276:6330739388db r21-0b36
Import from CVS: tag r21-0b36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:30:37 +0200 |
parents | c5d627a313b1 |
children | 90d73dddcdc4 |
line wrap: on
line diff
--- a/src/event-stream.c Mon Aug 13 10:29:43 2007 +0200 +++ b/src/event-stream.c Mon Aug 13 10:30:37 2007 +0200 @@ -1328,7 +1328,7 @@ extern int poll_for_quit_id; #endif -#ifndef SIGCHLD +#if defined(HAVE_UNIX_PROCESSES) && !defined(SIGCHLD) extern int poll_for_sigchld_id; #endif @@ -1337,7 +1337,8 @@ { /* This function can GC */ Lisp_Object humpty, dumpty; -#if (!defined (SIGIO) && !defined (DONT_POLL_FOR_QUIT)) || !defined (SIGCHLD) +#if ((!defined (SIGIO) && !defined (DONT_POLL_FOR_QUIT)) \ + || defined(HAVE_UNIX_PROCESSES) && !defined(SIGCHLD)) int id = #endif event_stream_resignal_wakeup (interval_id, 1, &humpty, &dumpty); @@ -1351,7 +1352,7 @@ } #endif -#if !defined (SIGCHLD) +#if defined(HAVE_UNIX_PROCESSES) && !defined(SIGCHLD) if (id == poll_for_sigchld_id) { kick_status_notify ();