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