Don't use visibility attribute for djgpp.
COFF objects don't support visibility, so using this attribute needlessly generates a long list of warnings.
This commit is contained in:
parent
b625c597e7
commit
2d86bc4a79
@ -244,7 +244,7 @@
|
||||
#else
|
||||
# define FMT_CLASS_API
|
||||
# if defined(FMT_EXPORT) || defined(FMT_SHARED)
|
||||
# if defined(__GNUC__) || defined(__clang__)
|
||||
# if (defined(__GNUC__) || defined(__clang__)) && !defined(DJGPP)
|
||||
# define FMT_API __attribute__((visibility("default")))
|
||||
# endif
|
||||
# endif
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
|
||||
#include "core.h"
|
||||
|
||||
#if FMT_GCC_VERSION
|
||||
#if FMT_GCC_VERSION && !defined(DJGPP)
|
||||
# define FMT_GCC_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#else
|
||||
# define FMT_GCC_VISIBILITY_HIDDEN
|
||||
|
||||
Loading…
Reference in New Issue
Block a user