mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-03 23:01:03 +00:00
Fix non-gcc builds.
This commit is contained in:
parent
db2cf61cde
commit
fb2be485d7
2
format.h
2
format.h
@ -45,6 +45,8 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
||||||
# define FMT_GCC_EXTENSION __extension__
|
# define FMT_GCC_EXTENSION __extension__
|
||||||
|
#else
|
||||||
|
# define FMT_GCC_EXTENSION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Compatibility with compilers other than clang.
|
// Compatibility with compilers other than clang.
|
||||||
|
Loading…
Reference in New Issue
Block a user