mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-04 17:26:42 +00:00
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:
parent
0ee4273b04
commit
e508e30800
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user