From 8d0e26180745798edfaca02df0d443b07813bd78 Mon Sep 17 00:00:00 2001 From: Remotion Date: Fri, 8 Jun 2018 21:15:12 +0200 Subject: [PATCH] Fixed GCC version test. --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 71a331e3..a5ea67fd 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -51,7 +51,7 @@ # define FMT_ICC_VERSION 0 #endif -#if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 406) || \ +#if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406) || \ FMT_CLANG_VERSION # pragma GCC diagnostic push