Don't define FMT_LOCALE on OpenBSD

OpenBSD doesn't have strtod_l() (at least under the default
headers), so the class Locale that the macro gates won't compile.
This commit is contained in:
hubslave 2018-02-19 00:43:35 +02:00 committed by Victor Zverovich
parent 0ee4273b04
commit e508e30800

View File

@ -353,7 +353,7 @@ class File {
long getpagesize();
#if (defined(LC_NUMERIC_MASK) || defined(_MSC_VER)) && \
!defined(__ANDROID__) && !defined(__CYGWIN__)
!defined(__ANDROID__) && !defined(__CYGWIN__) && !defined(__OpenBSD__)
# define FMT_LOCALE
#endif