diff --git a/fmt/posix.h b/fmt/posix.h index a830f6b2..bdff77fc 100644 --- a/fmt/posix.h +++ b/fmt/posix.h @@ -339,7 +339,7 @@ class File { // Returns the memory page size. long getpagesize(); -#if defined(LC_NUMERIC_MASK) || defined(_MSC_VER) +#if (defined(LC_NUMERIC_MASK) || defined(_MSC_VER)) && !defined(__ANDROID__) # define FMT_LOCALE #endif