summaryrefslogtreecommitdiff
path: root/jobs.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-03 13:37:16 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-03 13:37:16 -0500
commit43df7bbb633aed019e4b92d6c1c7964b3816ae70 (patch)
treead91ac2a07fc698e6d17e149851aba1fff5b7638 /jobs.c
parent22e63b05c844e8bc57786e8085f59c47e1728ebe (diff)
downloadbash-43df7bbb633aed019e4b92d6c1c7964b3816ae70.tar.gz
commit bash-20041005 snapshot
Diffstat (limited to 'jobs.c')
-rw-r--r--jobs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/jobs.c b/jobs.c
index b89cf242..3747ec16 100644
--- a/jobs.c
+++ b/jobs.c
@@ -129,7 +129,8 @@ extern int errno;
#endif /* !MUST_REINSTALL_SIGHANDLERS */
/* Some systems let waitpid(2) tell callers about stopped children. */
-#if !defined (WCONTINUED)
+#if !defined (WCONTINUED) || defined (WCONTINUED_BROKEN)
+# undef WCONTINUED
# define WCONTINUED 0
#endif
#if !defined (WIFCONTINUED)