| ... | @@ -2512,7 +2512,10 @@ pub const SC = switch (native_os) { | ... | @@ -2512,7 +2512,10 @@ pub const SC = switch (native_os) { |
| 2512 | else => void, | 2512 | else => void, |
| 2513 | }; | 2513 | }; |
| 2514 | | 2514 | |
| 2515 | pub const _SC = switch (native_os) { | 2515 | pub const _SC = if (builtin.abi.isAndroid()) enum(c_int) { |
| | 2516 | PAGESIZE = 39, |
| | 2517 | NPROCESSORS_ONLN = 97, |
| | 2518 | } else switch (native_os) { |
| 2516 | .driverkit, .ios, .macos, .tvos, .visionos, .watchos => enum(c_int) { | 2519 | .driverkit, .ios, .macos, .tvos, .visionos, .watchos => enum(c_int) { |
| 2517 | PAGESIZE = 29, | 2520 | PAGESIZE = 29, |
| 2518 | }, | 2521 | }, |