(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 4cfe21b..c0c1356 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;