| ... | ... | @@ -8973,9 +8973,15 @@ pub const V = switch (native_os) { |
| 8973 | 8973 | }; |
| 8974 | 8974 | |
| 8975 | 8975 | pub const NCCS = switch (native_os) { |
| 8976 | | .linux => linux.NCCS, |
| 8976 | .linux => if (native_abi.isGnu()) |
| 8977 | 32 |
| 8978 | else if (native_abi.isMusl()) |
| 8979 | if (native_arch.isPowerpc()) 19 else 32 |
| 8980 | else |
| 8981 | linux.NCCS, |
| 8977 | 8982 | .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos, .freebsd, .netbsd, .openbsd, .dragonfly => 20, |
| 8978 | 8983 | .haiku => 11, |
| 8984 | .hurd => 20, |
| 8979 | 8985 | .illumos => 19, |
| 8980 | 8986 | // https://github.com/SerenityOS/serenity/blob/d277cdfd4c7ed21d5248a83217ae03b9f890c3c8/Kernel/API/POSIX/termios.h#L15 |
| 8981 | 8987 | .emscripten, .serenity => 32, |