mirror of https://github.com/golang/go.git
misc/cgo/test: fix build for CC=clang
Fix build error when CL=clang introduced by CL 10173. Change-Id: I8edf210787a9803280c0779ff710c7e634a820d6 Reviewed-on: https://go-review.googlesource.com/10341 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
1893d3b320
commit
22e4b8167f
|
|
@ -22,6 +22,7 @@ static void* sigthreadfunc(void* unused) {
|
|||
sigaddset(&mask, SIGIO);
|
||||
sigprocmask(SIG_BLOCK, &mask, NULL);
|
||||
IntoGoAndBack();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
int RunSigThread() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue