changeset 2687:34703e371994

(SIGCONT): Define if not already defined.
author Jim Meyering <jim@meyering.net>
date Sun, 02 Jul 2000 18:23:51 +0000
parents d4cfc4e0958a
children 832225f935d8
files lib/nanosleep.c
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/nanosleep.c	Sun Jul 02 15:27:08 2000 +0000
+++ b/lib/nanosleep.c	Sun Jul 02 18:23:51 2000 +0000
@@ -36,6 +36,13 @@
 # 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;