From fb2be485d793f4e50d19cfd33ef659799c1249f5 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 15 Feb 2014 10:41:00 -0800 Subject: [PATCH] Fix non-gcc builds. --- format.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/format.h b/format.h index 3e5e553c..d8241796 100644 --- a/format.h +++ b/format.h @@ -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.