diff options
-rw-r--r-- | src/pkg/syscall/syscall_nacl.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/syscall/syscall_nacl.go b/src/pkg/syscall/syscall_nacl.go index 7b40a22ad..aa932b0be 100644 --- a/src/pkg/syscall/syscall_nacl.go +++ b/src/pkg/syscall/syscall_nacl.go @@ -108,6 +108,10 @@ func Sleep(ns int64) (errno int) { // SYS_TLS_* // SYS_SCHED_YIELD +// #define'd in NaCl but not picked up by mkerrors_nacl.sh. + +const EWOULDBLOCK = EAGAIN + // Not implemented in NaCl but needed to compile other packages. const ( |