diff --git a/include/fmt/core.h b/include/fmt/core.h index c2e52a6d..3fc11afb 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -171,7 +171,7 @@ #endif #ifndef FMT_INLINE -# if FMT_GCC_VERSION +# if FMT_GCC_VERSION && FMT_USE_CONSTEXPR # define FMT_INLINE inline __attribute__((always_inline)) # else # define FMT_INLINE