| author | |
| committer | |
| log | 99b5a4f29459b1ee2a1b00b51ffec3bafa2b6632 |
| tree | b30013190420ea48ee33cc0614c4d4b7f5ff2111 |
| parent | 22b7d0228261e040d64b2706918ee7582d4d2b6d |
c.f. https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/include/bits/sysconf.h1 files changed, 4 insertions(+), 1 deletions(-)
lib/std/c.zig+4-1| ... | ... | @@ -2269,7 +2269,10 @@ pub const SC = switch (native_os) { |
| 2269 | 2269 | else => void, |
| 2270 | 2270 | }; |
| 2271 | 2271 | |
| 2272 | pub const _SC = switch (native_os) { | |
| 2272 | pub const _SC = if (builtin.abi.isAndroid()) enum(c_int) { | |
| 2273 | PAGESIZE = 39, | |
| 2274 | NPROCESSORS_ONLN = 97, | |
| 2275 | } else switch (native_os) { | |
| 2273 | 2276 | .driverkit, .ios, .macos, .tvos, .visionos, .watchos => enum(c_int) { |
| 2274 | 2277 | PAGESIZE = 29, |
| 2275 | 2278 | }, |