From 05cf357dd95475cd0483b40a0bb90d717b3a3539 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Fri, 30 Apr 2010 18:45:04 +1000 Subject: [PATCH] Add EWOULDBLOCK to sycall_nacl.go. R=rsc CC=go-dev, golang-dev https://golang.org/cl/1006045 --- src/pkg/syscall/syscall_nacl.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pkg/syscall/syscall_nacl.go b/src/pkg/syscall/syscall_nacl.go index 7b40a22ad0..aa932b0be7 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 ( -- 2.50.0