X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fnanosleep.c;h=c0c135687daefeed78411a3984c665df5908d0c1;hb=3b3e7e80daac86fbdded8b0047a4a52ec2324ab8;hp=4cfe21b57b7b4e67662e65d5c0df0bc9b91c1e3a;hpb=ce15c933679dee2357e5b98845eb2abf86f303a3;p=gnulib.git 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 #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;