We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 195d63a commit 56dde29Copy full SHA for 56dde29
src/unix/bsd/apple/mod.rs
@@ -2471,9 +2471,14 @@ extern {
2471
pub fn renameatx_np(fromfd: ::c_int, from: *const ::c_char,
2472
tofd: ::c_int, to: *const ::c_char,
2473
flags: ::c_uint) -> ::c_int;
2474
+ #[cfg(target_arch = "x86")]
2475
pub fn exchangedata(path1: *const ::c_char,
2476
path2: *const ::c_char,
- options: u32) -> ::c_int;
2477
+ options: ::c_ulong) -> ::c_int;
2478
+ #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
2479
+ pub fn exchangedata(path1: *const ::c_char,
2480
+ path2: *const ::c_char,
2481
+ options: ::c_uint) -> ::c_int;
2482
pub fn fremovexattr(filedes: ::c_int, name: *const ::c_char,
2483
flags: ::c_int) -> ::c_int;
2484
0 commit comments