diff --git a/include/fmt/core.h b/include/fmt/core.h index 181001b5..ed581830 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -213,7 +213,7 @@ FMT_CONSTEXPR size_t length(const Char *s) { while (*s) ++s; return s - start; } -#if FMT_GCC_VERSION +#if FMT_GCC_VERSION && !defined(__arm__) FMT_CONSTEXPR size_t length(const char *s) { return std::strlen(s); } #endif