diff --git a/fmt/format.h b/fmt/format.h index 6a8fa66b..a2a3b546 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -3116,7 +3116,7 @@ void BasicWriter::write_int(T value, Spec spec) { case 'n': { unsigned num_digits = internal::count_digits(abs_value); fmt::StringRef sep = ""; -#if !(defined(ANDROID) || defined(__ANDROID__)) +#ifndef __ANDROID__ sep = internal::thousands_sep(std::localeconv()); #endif unsigned size = static_cast(