From 0c86f467bcd9d1a361616961adfa0a7f516a6b2c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 19 Apr 2020 09:52:40 -0700 Subject: [PATCH] Fix build on ancient gcc --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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