Fix locale detection

This commit is contained in:
Victor Zverovich 2019-07-26 12:13:05 +03:00
parent ee36257469
commit eac2796ce3

View File

@ -265,7 +265,7 @@ long getpagesize();
// A "C" numeric locale. // A "C" numeric locale.
class Locale { class Locale {
private: private:
# ifdef _MSC_VER # ifdef _WIN32
using locale_t = _locale_t; using locale_t = _locale_t;
enum { LC_NUMERIC_MASK = LC_NUMERIC }; enum { LC_NUMERIC_MASK = LC_NUMERIC };