Skip to content

Commit

Permalink
Solaris: add definition for _POSIX_VDISABLE
Browse files Browse the repository at this point in the history
(backport <rust-lang#4103>)
(cherry picked from commit 64dd7f4)
  • Loading branch information
psumbera authored and tgross35 committed Nov 19, 2024
1 parent ef39104 commit c3e2491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/solarish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ LIO_WAIT
LIO_WRITE
PIPE_BUF
SIGEV_PORT
_POSIX_VDISABLE
aio_cancel
aio_error
aio_fsync
Expand Down
2 changes: 2 additions & 0 deletions src/unix/solarish/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1870,6 +1870,8 @@ pub const _PC_FILESIZEBITS: ::c_int = 67;
pub const _PC_XATTR_ENABLED: ::c_int = 100;
pub const _PC_XATTR_EXISTS: ::c_int = 101;

pub const _POSIX_VDISABLE: ::cc_t = 0;

pub const _SC_ARG_MAX: ::c_int = 1;
pub const _SC_CHILD_MAX: ::c_int = 2;
pub const _SC_CLK_TCK: ::c_int = 3;
Expand Down

0 comments on commit c3e2491

Please sign in to comment.