From bfdf50d183b09b28d60103d7a960303a667d02e4 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 16 Sep 2023 08:02:12 -0700 Subject: [PATCH] Minor cleanup --- include/fmt/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 153b7aab..bcd9defb 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -185,14 +185,14 @@ # define FMT_END_EXPORT #endif -#if FMT_GCC_VERSION || defined(__clang__) +#if FMT_GCC_VERSION || FMT_CLANG_VERSION # define FMT_VISIBILITY(value) __attribute__((visibility(value))) #else # define FMT_VISIBILITY(value) #endif #if !defined(FMT_HEADER_ONLY) && defined(_WIN32) -# ifdef FMT_LIB_EXPORT +# if defined(FMT_LIB_EXPORT) # define FMT_API __declspec(dllexport) # elif defined(FMT_SHARED) # define FMT_API __declspec(dllimport)