Commit 3135d95f authored by Victor Zverovich's avatar Victor Zverovich

Don't use non-portable attribute

parent 8630a8f5
...@@ -210,13 +210,7 @@ ...@@ -210,13 +210,7 @@
# define FMT_CLASS_API # define FMT_CLASS_API
#endif #endif
#ifndef FMT_API #ifndef FMT_API
# if FMT_GCC_VERSION || FMT_CLANG_VERSION # define FMT_API
# define FMT_API __attribute__((visibility("default")))
# define FMT_EXTERN_TEMPLATE_API FMT_API
# define FMT_INSTANTIATION_DEF_API
# else
# define FMT_API
# endif
#endif #endif
#ifndef FMT_EXTERN_TEMPLATE_API #ifndef FMT_EXTERN_TEMPLATE_API
# define FMT_EXTERN_TEMPLATE_API # define FMT_EXTERN_TEMPLATE_API
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment