(SIGCONT): Define if not already defined.
authorJim Meyering <jim@meyering.net>
Sun, 2 Jul 2000 18:23:51 +0000 (18:23 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 2 Jul 2000 18:23:51 +0000 (18:23 +0000)
lib/nanosleep.c

index 4cfe21b57b7b4e67662e65d5c0df0bc9b91c1e3a..c0c135687daefeed78411a3984c665df5908d0c1 100644 (file)
@@ -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;