diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-07 02:47:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-07 02:47:40 +0300 |
commit | 4adf9d9c2ef56dac7870334f14db5f9ba1de3148 (patch) | |
tree | 108b88bfc3140e758f566a97befdc571a93442a1 /src | |
parent | e41d5dee07d1778d53e098de6862fe865798d5fb (diff) | |
download | manaplus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.gz manaplus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.bz2 manaplus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.xz manaplus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.zip |
Allow macro PRAGMACLANG6GCC for gcc from 4.5 and newer.
Diffstat (limited to 'src')
-rw-r--r-- | src/localconsts.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |