summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-07 02:33:32 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-07 02:33:32 +0300
commit9f022130ac4189545f6a2f3789647ff02bf15ba4 (patch)
treea469484eeb258ad66c83c9775e7b0b5b8649bae2 /src
parent1bdd9ffe4bb71e3e18fbd6975049198b2db69196 (diff)
downloadplus-9f022130ac4189545f6a2f3789647ff02bf15ba4.tar.gz
plus-9f022130ac4189545f6a2f3789647ff02bf15ba4.tar.bz2
plus-9f022130ac4189545f6a2f3789647ff02bf15ba4.tar.xz
plus-9f022130ac4189545f6a2f3789647ff02bf15ba4.zip
Revert "Enable fallthrough attribute only for gcc version 7.01."
This reverts commit 15f62e0e81649e9bda6a054d00a63a14972db8d5.
Diffstat (limited to 'src')
-rw-r--r--src/localconsts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index a22ac8e97..b76fe233f 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -170,7 +170,7 @@
#else // GCC_VERSION > 60000
#define PRAGMA6(str)
#endif // GCC_VERSION > 60000
-#if GCC_VERSION >= 70001
+#if GCC_VERSION >= 70000
#define A_FALLTHROUGH __attribute__ ((fallthrough));
#else // GCC_VERSION > 70000
#define A_FALLTHROUGH