From 64dd7f4a2cec3b4d84f4a5dd151dc8d43ed24236 Mon Sep 17 00:00:00 2001 From: Petr Sumbera Date: Mon, 18 Nov 2024 17:56:57 +0100 Subject: [PATCH] Solaris: add definition for _POSIX_VDISABLE --- libc-test/semver/solarish.txt | 1 + src/unix/solarish/mod.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libc-test/semver/solarish.txt b/libc-test/semver/solarish.txt index 2dcebd06e3399..057fafb92f1de 100644 --- a/libc-test/semver/solarish.txt +++ b/libc-test/semver/solarish.txt @@ -16,6 +16,7 @@ LIO_WAIT LIO_WRITE PIPE_BUF SIGEV_PORT +_POSIX_VDISABLE aio_cancel aio_error aio_fsync diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs index 64bedf88b73c9..aa0925480ed19 100644 --- a/src/unix/solarish/mod.rs +++ b/src/unix/solarish/mod.rs @@ -1871,6 +1871,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;