Mercurial > hg > octave-lyh
diff src/sighandlers.cc @ 4064:b4fa31442a78
[project @ 2002-09-26 21:10:45 by jwe]
author | jwe |
---|---|
date | Thu, 26 Sep 2002 21:10:46 +0000 |
parents | 9add655e8b8c |
children | 01f46b36e11f |
line wrap: on
line diff
--- a/src/sighandlers.cc +++ b/src/sighandlers.cc @@ -186,6 +186,7 @@ // Handle SIGCHLD. +#ifdef SIGCHLD static RETSIGTYPE sigchld_handler (int /* sig */) { @@ -245,7 +246,9 @@ SIGHANDLER_RETURN (0); } +#endif /* defined(SIGCHLD) */ +#ifdef SIGFPE #if defined (__alpha__) static RETSIGTYPE sigfpe_handler (int /* sig */) @@ -264,7 +267,8 @@ SIGHANDLER_RETURN (0); } -#endif +#endif /* defined(__alpha__) */ +#endif /* defined(SIGFPE) */ #if 0 #if defined (SIGWINCH) @@ -308,6 +312,7 @@ SIGHANDLER_RETURN (0); } +#ifdef SIGPIPE static RETSIGTYPE sigpipe_handler (int /* sig */) { @@ -325,6 +330,7 @@ SIGHANDLER_RETURN (0); } +#endif /* defined(SIGPIPE) */ octave_interrupt_handler octave_catch_interrupts (void)