diff --git a/include/fmt/posix.h b/include/fmt/posix.h index a3e0ec22bccf..1be9a87ec5da 100644 --- a/include/fmt/posix.h +++ b/include/fmt/posix.h @@ -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