mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-30 12:24:59 +00:00
Minor cleanup
This commit is contained in:
parent
571a9b7b26
commit
bfdf50d183
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user