Remove missed #cfg that prevented build on NetBSD

This commit is contained in:
Fabian Boehm 2024-02-01 20:21:33 +01:00
parent 5169302303
commit 640e25d557

View file

@ -65,7 +65,6 @@ unsafe fn read_locale() -> Option<Locale> {
extern "C" {
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() };
const empty: [libc::c_char; 1] = [0];