Minor cleanup

This commit is contained in:
Victor Zverovich 2023-09-16 08:02:12 -07:00
parent 571a9b7b26
commit bfdf50d183

View File

@ -185,14 +185,14 @@
# define FMT_END_EXPORT # define FMT_END_EXPORT
#endif #endif
#if FMT_GCC_VERSION || defined(__clang__) #if FMT_GCC_VERSION || FMT_CLANG_VERSION
# define FMT_VISIBILITY(value) __attribute__((visibility(value))) # define FMT_VISIBILITY(value) __attribute__((visibility(value)))
#else #else
# define FMT_VISIBILITY(value) # define FMT_VISIBILITY(value)
#endif #endif
#if !defined(FMT_HEADER_ONLY) && defined(_WIN32) #if !defined(FMT_HEADER_ONLY) && defined(_WIN32)
# ifdef FMT_LIB_EXPORT # if defined(FMT_LIB_EXPORT)
# define FMT_API __declspec(dllexport) # define FMT_API __declspec(dllexport)
# elif defined(FMT_SHARED) # elif defined(FMT_SHARED)
# define FMT_API __declspec(dllimport) # define FMT_API __declspec(dllimport)