From 21f3a700c5caea24a1a4aefcdc254b05c460204c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 9 Dec 2013 17:51:11 -0800 Subject: [PATCH] Fix a typo. --- format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/format.h b/format.h index a4ff441a..43e146bf 100644 --- a/format.h +++ b/format.h @@ -43,7 +43,7 @@ #include #ifdef __GNUC__ -# define FMG_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) +# define FMT_GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__) #endif // Compatibility with compilers other than clang. @@ -54,7 +54,7 @@ #ifndef FMT_USE_INITIALIZER_LIST # define FMT_USE_INITIALIZER_LIST \ (__has_feature(cxx_generalized_initializers) || \ - (FMG_GCC_VERSION >= 404 && __cplusplus >= 201103) || _MSC_VER >= 1700) + (FMT_GCC_VERSION >= 404 && __cplusplus >= 201103) || _MSC_VER >= 1700) #endif #if FMT_USE_INITIALIZER_LIST @@ -63,13 +63,13 @@ // Define FMT_USE_NOEXCEPT to make format use noexcept (C++11 feature). #if FMT_USE_NOEXCEPT || __has_feature(cxx_noexcept) || \ - (FMG_GCC_VERSION >= 408 && __cplusplus >= 201103) + (FMT_GCC_VERSION >= 408 && __cplusplus >= 201103) # define FMT_NOEXCEPT(expr) noexcept(expr) #else # define FMT_NOEXCEPT(expr) #endif -#if FMG_GCC_VERSION >= 406 +#if FMT_GCC_VERSION >= 406 # define FMT_GCC_DIAGNOSTIC # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wlong-long"