Commit d874ffa96ccad7dd122cdc369a284d171e221809

Werner Lemberg 2023-03-01T06:36:59

* include/freetype/internal/compiler-macros.h (FALL_THROUGH): Update. This follows https://lists.gnu.org/archive/html/bug-gnulib/2023-02/msg00200.html

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/freetype/internal/compiler-macros.h b/include/freetype/internal/compiler-macros.h
index 9d69086..6f67650 100644
--- a/include/freetype/internal/compiler-macros.h
+++ b/include/freetype/internal/compiler-macros.h
@@ -44,7 +44,7 @@ FT_BEGIN_HEADER
 #  elif ( defined( __GNUC__ ) && __GNUC__ >= 7 )       || \
         ( defined( __clang__ )                      &&    \
           ( defined( __apple_build_version__ )            \
-              ? __apple_build_version__ >= 14000000       \
+              ? __apple_build_version__ >= 12000000       \
               : __clang_major__ >= 10 ) )
 #    define FALL_THROUGH  __attribute__(( __fallthrough__ ))
 #  else