syscall: don't assume that WIFCONTINUED is defined

It's not defined on the Hurd.
    
    Reviewed-on: https://go-review.googlesource.com/c/161963

From-SVN: r268828
This commit is contained in:
Ian Lance Taylor 2019-02-12 21:29:52 +00:00
parent d950b005f9
commit 2faf2a305d
2 changed files with 5 additions and 1 deletions

View 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.

View File

@ -16,6 +16,10 @@
#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");