diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-11-27 09:40:37 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-12-01 17:16:43 -0800 |
commit | 49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a (patch) | |
tree | 3a669b5ab01cf97418aa2c3723aabfeee9117b00 /src/lib.rs | |
parent | f25765fbc15745703fa7456323040280dd72a011 (diff) | |
download | rust-libc-49d7bca8aa06151f2a2e0dd5b4c37a0f9195201a.tar.gz |
Add rumprun CI and get tests passing
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs index d03b2f8375..02bf9e69ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -172,7 +172,9 @@ extern { pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; pub fn ftell(stream: *mut FILE) -> c_long; pub fn rewind(stream: *mut FILE); + #[cfg_attr(target_os = "netbsd", link_name = "__fgetpos50")] pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; + #[cfg_attr(target_os = "netbsd", link_name = "__fsetpos50")] pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; pub fn feof(stream: *mut FILE) -> c_int; pub fn ferror(stream: *mut FILE) -> c_int; |