Add #define FMT_EXTERN extern only when not FMT_HEADER_ONLY
This commit is contained in:
parent
c6e6bfee4e
commit
b4a4dcd788
@ -199,6 +199,12 @@
|
||||
# define FMT_EXTERN_TEMPLATE_API
|
||||
#endif
|
||||
|
||||
#if !define(FMT_HEADER_ONLY)
|
||||
# define FMT_EXTERN extern
|
||||
#else
|
||||
# define FMT_EXTERN
|
||||
#endif
|
||||
|
||||
#ifndef FMT_ASSERT
|
||||
# define FMT_ASSERT(condition, message) assert((condition) && message)
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user