Fixed a typo in the #[cfg()] of gettimeofday.
The #[cfg()] was looking for 'arget_os' instead of 'target_os'.
This commit is contained in:
parent
a64ee24718
commit
aafab85e30
@ -411,7 +411,7 @@ extern {
|
||||
|
||||
pub fn flock(fd: ::c_int, operation: ::c_int) -> ::c_int;
|
||||
|
||||
#[cfg_attr(arget_os = "netbsd", link_name = "__gettimeofday50")]
|
||||
#[cfg_attr(target_os = "netbsd", link_name = "__gettimeofday50")]
|
||||
pub fn gettimeofday(tp: *mut ::timeval,
|
||||
tz: *mut ::c_void) -> ::c_int;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user