File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4204,7 +4204,6 @@ extern "C" {
4204
4204
pub fn getpagesize ( ) -> :: c_int ;
4205
4205
pub fn getpagesizes ( pagesize : * mut :: size_t , nelem : :: c_int ) -> :: c_int ;
4206
4206
4207
- pub fn adjtime ( arg1 : * const :: timeval , arg2 : * mut :: timeval ) -> :: c_int ;
4208
4207
pub fn clock_getcpuclockid2 ( arg1 : :: id_t , arg2 : :: c_int , arg3 : * mut clockid_t ) -> :: c_int ;
4209
4208
4210
4209
pub fn shm_create_largepage (
Original file line number Diff line number Diff line change @@ -1389,6 +1389,15 @@ extern "C" {
1389
1389
pub fn getline ( lineptr : * mut * mut c_char , n : * mut size_t , stream : * mut FILE ) -> ssize_t ;
1390
1390
1391
1391
pub fn lockf ( fd : :: c_int , cmd : :: c_int , len : :: off_t ) -> :: c_int ;
1392
+
1393
+ }
1394
+ cfg_if ! {
1395
+ if #[ cfg( not( any( target_os = "emscripten" ,
1396
+ target_os = "android" ) ) ) ] {
1397
+ extern "C" {
1398
+ pub fn adjtime( delta: * const timeval, olddelta: * mut timeval) -> :: c_int;
1399
+ }
1400
+ }
1392
1401
}
1393
1402
1394
1403
cfg_if ! {
You can’t perform that action at this time.
0 commit comments