From 3135d95fd9030b2e324b8745e00b3597072e8c7b Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 26 Jun 2020 10:21:14 -0700 Subject: [PATCH] Don't use non-portable attribute --- include/fmt/core.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index eb129399..08a96330 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -210,13 +210,7 @@ # define FMT_CLASS_API #endif #ifndef FMT_API -# if FMT_GCC_VERSION || FMT_CLANG_VERSION -# define FMT_API __attribute__((visibility("default"))) -# define FMT_EXTERN_TEMPLATE_API FMT_API -# define FMT_INSTANTIATION_DEF_API -# else -# define FMT_API -# endif +# define FMT_API #endif #ifndef FMT_EXTERN_TEMPLATE_API # define FMT_EXTERN_TEMPLATE_API