| ... | ... | @@ -9187,9 +9187,15 @@ pub const V = switch (native_os) { |
| 9187 | 9187 | }; |
| 9188 | 9188 | |
| 9189 | 9189 | pub const NCCS = switch (native_os) { |
| 9190 | | .linux => linux.NCCS, |
| 9190 | .linux => if (native_abi.isGnu()) |
| 9191 | 32 |
| 9192 | else if (native_abi.isMusl()) |
| 9193 | if (native_arch.isPowerpc()) 19 else 32 |
| 9194 | else |
| 9195 | linux.NCCS, |
| 9191 | 9196 | .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos, .freebsd, .netbsd, .openbsd, .dragonfly => 20, |
| 9192 | 9197 | .haiku => 11, |
| 9198 | .hurd => 20, |
| 9193 | 9199 | .illumos => 19, |
| 9194 | 9200 | // https://github.com/SerenityOS/serenity/blob/d277cdfd4c7ed21d5248a83217ae03b9f890c3c8/Kernel/API/POSIX/termios.h#L15 |
| 9195 | 9201 | .emscripten, .wasi, .serenity => 32, |