Skip to content

Commit 5399c89

Browse files
committed
Change netbsd link_name for setlocale
1 parent 5a0c067 commit 5399c89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ extern {
611611
writefds: *mut fd_set,
612612
errorfds: *mut fd_set,
613613
timeout: *mut timeval) -> ::c_int;
614+
#[cfg_attr(target_os = "netbsd", link_name = "__setlocale50")]
614615
pub fn setlocale(category: ::c_int,
615616
locale: *const ::c_char) -> *mut ::c_char;
616617
pub fn localeconv() -> *mut lconv;

0 commit comments

Comments
 (0)