Skip to content

Commit

Permalink
Only applicable on unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
bossmc committed Nov 30, 2015
1 parent 15d9207 commit dd54f29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ extern {
pub fn strerror(n: c_int) -> *mut c_char;
pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
pub fn umask(mask: mode_t) -> mode_t;
pub fn wcslen(buf: *const wchar_t) -> size_t;

pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int;
Expand Down
1 change: 1 addition & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ extern {
link_name = "pwrite$UNIX2003")]
pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t,
offset: off_t) -> ::ssize_t;
pub fn umask(mask: mode_t) -> mode_t;
pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int;

#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
Expand Down

0 comments on commit dd54f29

Please sign in to comment.