projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3c100
)
(SIGCONT): Define if not already defined.
author
Jim Meyering
<jim@meyering.net>
Sun, 2 Jul 2000 18:23:51 +0000
(18:23 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 2 Jul 2000 18:23:51 +0000
(18:23 +0000)
lib/nanosleep.c
patch
|
blob
|
history
diff --git
a/lib/nanosleep.c
b/lib/nanosleep.c
index 4cfe21b57b7b4e67662e65d5c0df0bc9b91c1e3a..c0c135687daefeed78411a3984c665df5908d0c1 100644
(file)
--- a/
lib/nanosleep.c
+++ b/
lib/nanosleep.c
@@
-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;