From eac2796ce3b0cc26772388574db18545463c7edd Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 26 Jul 2019 12:13:05 +0300 Subject: [PATCH] Fix locale detection --- include/fmt/posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/posix.h b/include/fmt/posix.h index 9876ce9a..6b2d7f8e 100644 --- a/include/fmt/posix.h +++ b/include/fmt/posix.h @@ -265,7 +265,7 @@ long getpagesize(); // A "C" numeric locale. class Locale { private: -# ifdef _MSC_VER +# ifdef _WIN32 using locale_t = _locale_t; enum { LC_NUMERIC_MASK = LC_NUMERIC };