Skip to content

Commit e6bd49c

Browse files
committed
Android defines _POSIX_VDISABLE
1 parent c1b3860 commit e6bd49c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,6 +2444,7 @@ _PC_REC_XFER_ALIGN
24442444
_PC_SYMLINK_MAX
24452445
_PC_SYNC_IO
24462446
_PC_VDISABLE
2447+
_POSIX_VDISABLE
24472448
_SC_2_CHAR_TERM
24482449
_SC_2_C_BIND
24492450
_SC_2_C_DEV

src/unix/linux_like/android/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ pub const TFD_TIMER_CANCEL_ON_SET: ::c_int = 2;
812812

813813
pub const USER_PROCESS: ::c_short = 7;
814814

815+
pub const _POSIX_VDISABLE: ::cc_t = 0;
816+
815817
// linux/falloc.h
816818
pub const FALLOC_FL_KEEP_SIZE: ::c_int = 0x01;
817819
pub const FALLOC_FL_PUNCH_HOLE: ::c_int = 0x02;

0 commit comments

Comments
 (0)