mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Use wcstod_l on NetBSD
It has wcstod_l, but not uselocale, so we can't use the fallback.
This commit is contained in:
@@ -389,7 +389,7 @@ int flock(int fd, int op) {
|
||||
|
||||
#endif // HAVE_FLOCK
|
||||
|
||||
#ifndef HAVE_WCSTOD_L
|
||||
#if !defined(HAVE_WCSTOD_L) && !defined(__NetBSD__)
|
||||
#undef wcstod_l
|
||||
// For platforms without wcstod_l C extension, wrap wcstod after changing the
|
||||
// thread-specific locale.
|
||||
|
||||
Reference in New Issue
Block a user