Commit 47268ecd authored by Remotion's avatar Remotion Committed by Victor Zverovich

Fixed GCC version test

parent 9ff3b6af
...@@ -51,8 +51,9 @@ ...@@ -51,8 +51,9 @@
# define FMT_ICC_VERSION 0 # define FMT_ICC_VERSION 0
#endif #endif
#if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 406) || \ #include "core.h"
FMT_CLANG_VERSION
#if FMT_GCC_VERSION >= 406 || FMT_CLANG_VERSION
# pragma GCC diagnostic push # pragma GCC diagnostic push
// Disable the warning about declaration shadowing because it affects too // Disable the warning about declaration shadowing because it affects too
...@@ -64,8 +65,6 @@ ...@@ -64,8 +65,6 @@
# pragma GCC diagnostic ignored "-Wsign-conversion" # pragma GCC diagnostic ignored "-Wsign-conversion"
#endif #endif
#include "core.h"
#ifdef _SECURE_SCL #ifdef _SECURE_SCL
# define FMT_SECURE_SCL _SECURE_SCL # define FMT_SECURE_SCL _SECURE_SCL
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment