File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -4204,7 +4204,6 @@ extern "C" {
42044204 pub fn getpagesize ( ) -> :: c_int ;
42054205 pub fn getpagesizes ( pagesize : * mut :: size_t , nelem : :: c_int ) -> :: c_int ;
42064206
4207- pub fn adjtime ( arg1 : * const :: timeval , arg2 : * mut :: timeval ) -> :: c_int ;
42084207 pub fn clock_getcpuclockid2 ( arg1 : :: id_t , arg2 : :: c_int , arg3 : * mut clockid_t ) -> :: c_int ;
42094208
42104209 pub fn shm_create_largepage (
Original file line number Diff line number Diff line change @@ -1389,6 +1389,15 @@ extern "C" {
13891389 pub fn getline ( lineptr : * mut * mut c_char , n : * mut size_t , stream : * mut FILE ) -> ssize_t ;
13901390
13911391 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+ }
13921401}
13931402
13941403cfg_if ! {
You can’t perform that action at this time.
0 commit comments