mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user