mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 15:04:05 +00:00
Remove missed #cfg that prevented build on NetBSD
This commit is contained in:
parent
5169302303
commit
640e25d557
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue