diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-30 21:20:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-30 21:20:53 +0300 |
commit | 15f62e0e81649e9bda6a054d00a63a14972db8d5 (patch) | |
tree | fd9ecca3364ac2a264df9f712cde1dff2812b532 /src/localconsts.h | |
parent | f0ae3929601795a12522664ab2a37375f7d598b5 (diff) | |
download | manaplus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.gz manaplus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.bz2 manaplus-15f62e0e81649e9bda6a054d00a63a14972db8d5.tar.xz manaplus-15f62e0e81649e9bda6a054d00a63a14972db8d5.zip |
Enable fallthrough attribute only for gcc version 7.01.
Because gcc snapshot still outdated.
Diffstat (limited to 'src/localconsts.h')
-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 b76fe233f..a22ac8e97 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 >= 70000 +#if GCC_VERSION >= 70001 #define A_FALLTHROUGH __attribute__ ((fallthrough)); #else // GCC_VERSION > 70000 #define A_FALLTHROUGH |