summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-07 02:47:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-07 02:47:40 +0300
commit4adf9d9c2ef56dac7870334f14db5f9ba1de3148 (patch)
tree108b88bfc3140e758f566a97befdc571a93442a1 /src/localconsts.h
parente41d5dee07d1778d53e098de6862fe865798d5fb (diff)
downloadplus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.gz
plus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.bz2
plus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.tar.xz
plus-4adf9d9c2ef56dac7870334f14db5f9ba1de3148.zip
Allow macro PRAGMACLANG6GCC for gcc from 4.5 and newer.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
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)