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
379e92f27e
commit
270c7d4a07
@ -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