Skip to content

Commit 5c2db83

Browse files
authored
Merge pull request #4577 from xingxue-ibm/restore-winsize
Restore `struct winsize` for AIX
2 parents 0fb5309 + e8bb082 commit 5c2db83

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

libc-test/semver/aix.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,6 +2601,7 @@ waitpid
26012601
wchar_t
26022602
wcslen
26032603
wcstombs
2604+
winsize
26042605
wmemchr
26052606
write
26062607
writev

src/unix/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ s! {
160160
pub revents: c_short,
161161
}
162162

163-
#[cfg(not(target_os = "aix"))]
164163
pub struct winsize {
165164
pub ws_row: c_ushort,
166165
pub ws_col: c_ushort,

0 commit comments

Comments
 (0)