Don't use non-portable attribute

This commit is contained in:
Victor Zverovich 2020-06-26 10:21:14 -07:00
parent 8630a8f5ff
commit 3135d95fd9

View File

@ -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
#endif
#ifndef FMT_EXTERN_TEMPLATE_API
# define FMT_EXTERN_TEMPLATE_API