Mercurial > hg > octave-nkf > gnulib-hg
diff lib/nanosleep.c @ 2687:34703e371994
(SIGCONT): Define if not already defined.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 02 Jul 2000 18:23:51 +0000 |
parents | 12885d185e68 |
children | e22be96e00a6 |
line wrap: on
line diff
--- a/lib/nanosleep.c +++ b/lib/nanosleep.c @@ -36,6 +36,13 @@ # include <unistd.h> #endif +/* Some systems (MSDOS) don't have SIGCONT. + Using SIGTERM here turns the signal-handling code below + into a no-op on such systems. */ +#ifndef SIGCONT +# define SIGCONT SIGTERM +#endif + #include "nanosleep.h" static int suspended;