From: Jim Meyering Date: Sun, 2 Jul 2000 18:23:51 +0000 (+0000) Subject: (SIGCONT): Define if not already defined. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7c225c5dacb4234f6f20700dcc51f76ebfe7116;p=pspp (SIGCONT): Define if not already defined. --- 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;