syscall: don't assume that WIFCONTINUED is defined
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 12 Feb 2019 21:29:52 +0000 (21:29 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 12 Feb 2019 21:29:52 +0000 (21:29 +0000)
    It's not defined on the Hurd.

    Reviewed-on: https://go-review.googlesource.com/c/161963

From-SVN: r268828

gcc/go/gofrontend/MERGE
libgo/go/syscall/wait.c

index 1339d9fbb234a1e808baed2a244b87bfa1af1b83..3ab1f29d31f7fb1d5bed9eb996a24587da97f53c 100644 (file)
@@ -1,4 +1,4 @@
-fc8aa5a46433d6ecba9fd1cd0bee4290c314ca06
+6d03c4c8ca320042bd550d44c0f25575c5311ac2
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index c0c5cca39af5d8ed355444183fbbd0a4672b229a..9555a41b9865a57b264f1a7d410bd28bea84b657 100644 (file)
 #define WCOREDUMP(status) (((status) & 0200) != 0)
 #endif
 
+#ifndef WIFCONTINUED
+#define WIFCONTINUED(x) 0
+#endif
+
 extern _Bool Exited (uint32_t *w)
   __asm__ (GOSYM_PREFIX "syscall.WaitStatus.Exited");