Fixed GCC version test.

This commit is contained in:
Remotion 2018-06-09 16:20:09 +02:00
parent e3707ef14b
commit 8721e4c3a6

View File

@ -51,7 +51,7 @@
# define FMT_ICC_VERSION 0 # define FMT_ICC_VERSION 0
#endif #endif
#if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 406) || \ #if (defined(__GNUC__) && !defined(__clang__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 406) || \
FMT_CLANG_VERSION FMT_CLANG_VERSION
# pragma GCC diagnostic push # pragma GCC diagnostic push