Skip to content

Commit

Permalink
std.os.linux: Fix tc_oflag_t for PowerPC
Browse files Browse the repository at this point in the history
std/os/linux.zig:6504:20: error: expected type 'os.linux.NLDLY__enum_11313', found 'comptime_int'
  • Loading branch information
linusg authored and andrewrk committed Sep 19, 2024
1 parent 2111f4c commit 72fc164
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/std/os/linux.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6501,12 +6501,12 @@ pub const tc_oflag_t = if (is_ppc) packed struct(tcflag_t) {
ONLRET: bool = false,
OFILL: bool = false,
OFDEL: bool = false,
NLDLY: NLDLY = 0,
TABDLY: TABDLY = 0,
CRDLY: CRDLY = 0,
FFDLY: FFDLY = 0,
BSDLY: BSDLY = 0,
VTDLY: VTDLY = 0,
NLDLY: NLDLY = .NL0,
TABDLY: TABDLY = .TAB0,
CRDLY: CRDLY = .CR0,
FFDLY: FFDLY = .FF0,
BSDLY: BSDLY = .BS0,
VTDLY: VTDLY = .VT0,
_17: u15 = 0,
} else if (is_sparc) packed struct(tcflag_t) {
OPOST: bool = false,
Expand Down

0 comments on commit 72fc164

Please sign in to comment.