mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 07:24:51 +08:00
Remove missed #cfg that prevented build on NetBSD
This commit is contained in:
parent
5169302303
commit
640e25d557
|
@ -65,7 +65,6 @@ unsafe fn read_locale() -> Option<Locale> {
|
||||||
extern "C" {
|
extern "C" {
|
||||||
fn localeconv_l(loc: libc::locale_t) -> *const libc::lconv;
|
fn localeconv_l(loc: libc::locale_t) -> *const libc::lconv;
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "netbsd"))]
|
|
||||||
let LC_GLOBAL_LOCALE: libc::locale_t = unsafe { crate::libc::C_LC_GLOBAL_LOCALE() };
|
let LC_GLOBAL_LOCALE: libc::locale_t = unsafe { crate::libc::C_LC_GLOBAL_LOCALE() };
|
||||||
|
|
||||||
const empty: [libc::c_char; 1] = [0];
|
const empty: [libc::c_char; 1] = [0];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user