File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 171
171
}
172
172
}
173
173
174
- // FIXME POSIX_FADV_DONTNEED = 6
175
- // FIXME POSIX_FADV_NOREUSE = 7
174
+ pub const POSIX_FADV_DONTNEED : :: c_int = 6 ;
175
+ pub const POSIX_FADV_NOREUSE : :: c_int = 7 ;
176
176
177
177
pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 4 ;
178
178
pub const __SIZEOF_PTHREAD_MUTEXATTR_T: usize = 4 ;
Original file line number Diff line number Diff line change @@ -613,7 +613,10 @@ pub const POSIX_FADV_NORMAL: ::c_int = 0;
613
613
pub const POSIX_FADV_RANDOM : :: c_int = 1 ;
614
614
pub const POSIX_FADV_SEQUENTIAL : :: c_int = 2 ;
615
615
pub const POSIX_FADV_WILLNEED : :: c_int = 3 ;
616
+ // TODO modularize better
617
+ #[ cfg( targe_arch = "s390x" ) ]
616
618
pub const POSIX_FADV_DONTNEED : :: c_int = 4 ;
619
+ #[ cfg( targe_arch = "s390x" ) ]
617
620
pub const POSIX_FADV_NOREUSE : :: c_int = 5 ;
618
621
619
622
pub const AT_FDCWD : :: c_int = -100 ;
You can’t perform that action at this time.
0 commit comments