From f7c225c5dacb4234f6f20700dcc51f76ebfe7116 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Jul 2000 18:23:51 +0000 Subject: [PATCH] (SIGCONT): Define if not already defined. --- lib/nanosleep.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/nanosleep.c b/lib/nanosleep.c index 4cfe21b57b..c0c135687d 100644 --- a/lib/nanosleep.c +++ b/lib/nanosleep.c @@ -36,6 +36,13 @@ extern int errno; # include #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; -- 2.30.2