Change netbsd link_name for setlocale

This commit is contained in:
A.J. Gardner 2016-03-30 23:09:25 -05:00
parent 5a0c067f1b
commit 5399c89f60

View File

@ -611,6 +611,7 @@ extern {
writefds: *mut fd_set,
errorfds: *mut fd_set,
timeout: *mut timeval) -> ::c_int;
#[cfg_attr(target_os = "netbsd", link_name = "__setlocale50")]
pub fn setlocale(category: ::c_int,
locale: *const ::c_char) -> *mut ::c_char;
pub fn localeconv() -> *mut lconv;