Fix non-gcc builds.

This commit is contained in:
Victor Zverovich 2014-02-15 10:41:00 -08:00
parent db2cf61cde
commit fb2be485d7

View File

@ -45,6 +45,8 @@
#ifdef __GNUC__
# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
# define FMT_GCC_EXTENSION __extension__
#else
# define FMT_GCC_EXTENSION
#endif
// Compatibility with compilers other than clang.