* include/freetype/internal/compiler-macros.h (FALL_THROUGH): Update.
This follows https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00159.html
This commit is contained in:
parent
d399657f1b
commit
2257f9abf6
@ -41,8 +41,11 @@ FT_BEGIN_HEADER
|
||||
# if ( defined( __STDC_VERSION__ ) && __STDC_VERSION__ > 201710L ) || \
|
||||
( defined( __cplusplus ) && __cplusplus > 201402L )
|
||||
# define FALL_THROUGH [[__fallthrough__]]
|
||||
# elif ( defined( __GNUC__ ) && __GNUC__ >= 7 ) || \
|
||||
( defined( __clang__ ) && __clang_major__ >= 10 )
|
||||
# elif ( defined( __GNUC__ ) && __GNUC__ >= 7 ) || \
|
||||
( defined( __clang__ ) && \
|
||||
( defined( __apple_build_version__ ) \
|
||||
? __apple_build_version__ >= 14000000 \
|
||||
: __clang_major__ >= 10 ) )
|
||||
# define FALL_THROUGH __attribute__(( __fallthrough__ ))
|
||||
# else
|
||||
# define FALL_THROUGH ( (void)0 )
|
||||
|
Loading…
Reference in New Issue
Block a user