diff --git a/include/fmt/base.h b/include/fmt/base.h index 9eeeb2ce..551a6b86 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -537,7 +537,7 @@ template class basic_string_view { FMT_ALWAYS_INLINE #endif FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) { -#if FMT_HAS_BUILTIN(__buitin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION +#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION if (std::is_same::value) { size_ = __builtin_strlen(detail::narrow(s)); return;