mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 00:35:15 +08:00
parent
f8b88d5b98
commit
1a53bbeb9d
|
@ -397,6 +397,7 @@ int flock(int fd, int op) {
|
|||
|
||||
#if !defined(HAVE_WCSTOD_L) && !defined(__NetBSD__)
|
||||
#undef wcstod_l
|
||||
#include <locale.h>
|
||||
// For platforms without wcstod_l C extension, wrap wcstod after changing the
|
||||
// thread-specific locale.
|
||||
double fish_compat::wcstod_l(const wchar_t *enptr, wchar_t **endptr, locale_t loc) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user