From 535a4e5f9b518b710d664de204e08da2a61dba51 Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Wed, 4 Nov 2020 18:41:10 +0300 Subject: [PATCH] simplify check for FMT_COMPILE_STRING_VISIBILITY_ATTRIBUTE --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 87c62fed..7de07422 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3198,7 +3198,7 @@ FMT_CONSTEXPR basic_string_view compile_string_to_view( return {s.data(), s.size()}; } -#if defined(FMT_GCC_VERSION) && FMT_GCC_VERSION >= 400 +#if FMT_GCC_VERSION # define FMT_COMPILE_STRING_VISIBILITY_ATTRIBUTE \ __attribute__((visibility("hidden"))) #else