diff options
Diffstat (limited to 'support/dfa.c')
-rw-r--r-- | support/dfa.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/dfa.c b/support/dfa.c index 7e671127..3a776b06 100644 --- a/support/dfa.c +++ b/support/dfa.c @@ -61,7 +61,9 @@ isasciidigit (char c) #include "localeinfo.h" #ifndef FALLTHROUGH -# if __GNUC__ < 7 +# if 201710L < __STDC_VERSION__ +# define FALLTHROUGH [[__fallthrough__]] +# elif __GNUC__ < 7 # define FALLTHROUGH ((void) 0) # else # define FALLTHROUGH __attribute__ ((__fallthrough__)) |