From 4adf9d9c2ef56dac7870334f14db5f9ba1de3148 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 May 2017 02:47:40 +0300 Subject: Allow macro PRAGMACLANG6GCC for gcc from 4.5 and newer. --- src/localconsts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/localconsts.h b/src/localconsts.h index 2a3cf5ea7..4039fc54b 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -236,7 +236,7 @@ #define CLANG_FALLTHROUGH #endif // __clang__ -#if GCC_VERSION >= 40000 +#if GCC_VERSION >= 40600 #define PRAGMACLANG6GCC(str) _Pragma(#str) #elif defined(__clang__) && CLANG_VERSION >= 30800 #define PRAGMACLANG6GCC(str) _Pragma(#str) -- cgit v1.2.3-70-g09d2