From 30d1cbf9af83d28b390f0c7a9060d9d405814b72 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 8 May 2020 17:08:11 +0300 Subject: Update to dfa.c. --- support/dfa.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'support/dfa.c') 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__)) -- cgit v1.2.3