Use wcstod_l on NetBSD

It has wcstod_l, but not uselocale, so we can't use the fallback.
This commit is contained in:
Fabian Homborg
2019-01-20 18:33:04 +01:00
parent f90cb3957f
commit c66b3128ec
2 changed files with 5 additions and 2 deletions

View File

@@ -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.