diff options
-rw-r--r-- | starlark/int_posix64.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starlark/int_posix64.go b/starlark/int_posix64.go index d5d5dd2..19db123 100644 --- a/starlark/int_posix64.go +++ b/starlark/int_posix64.go @@ -62,8 +62,7 @@ func reserveAddresses(len int) uintptr { // Use syscall to avoid golang.org/x/sys/unix dependency. MAP_ANON := 0x1000 // darwin (and all BSDs) switch runtime.GOOS { - case "linux": - case "android": + case "linux", "android": MAP_ANON = 0x20 case "solaris": MAP_ANON = 0x100 |