diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-02 18:23:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-02 18:23:51 +0000 |
commit | e1919145a59da672450c1b151a7e57e525cc9c54 (patch) | |
tree | 4f69520977da238c770ad8c0fa98019916fe454d /lib | |
parent | 591e461818901f2d15b2158419c3a40602340adc (diff) | |
download | coreutils-e1919145a59da672450c1b151a7e57e525cc9c54.tar.xz |
(SIGCONT): Define if not already defined.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nanosleep.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/nanosleep.c b/lib/nanosleep.c index 4cfe21b57..c0c135687 100644 --- a/lib/nanosleep.c +++ b/lib/nanosleep.c @@ -36,6 +36,13 @@ extern int errno; # 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; |