OSX: Fix compiling with Xcode 16 on macOS 15
Updated a line in the included FreeType 1.8.1 from FreeType 1.12.0+ to be compatible with Xcode 16.
This commit is contained in:
13
thirdparty/freetype/patches/xcode16-compat.patch
vendored
Normal file
13
thirdparty/freetype/patches/xcode16-compat.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/thirdparty/freetype/src/gzip/ftzconf.h b/thirdparty/freetype/src/gzip/ftzconf.h
|
||||
index 3abf0ba03b..d88a82a2ee 100644
|
||||
--- a/thirdparty/freetype/src/gzip/ftzconf.h
|
||||
+++ b/thirdparty/freetype/src/gzip/ftzconf.h
|
||||
@@ -215,7 +215,7 @@
|
||||
# define FAR
|
||||
#endif
|
||||
|
||||
-#if !defined(MACOS) && !defined(TARGET_OS_MAC)
|
||||
+#if !defined(__MACTYPES__)
|
||||
typedef unsigned char Byte; /* 8 bits */
|
||||
#endif
|
||||
typedef unsigned int uInt; /* 16 bits or more */
|
||||
2
thirdparty/freetype/src/gzip/ftzconf.h
vendored
2
thirdparty/freetype/src/gzip/ftzconf.h
vendored
@ -215,7 +215,7 @@
|
||||
# define FAR
|
||||
#endif
|
||||
|
||||
#if !defined(MACOS) && !defined(TARGET_OS_MAC)
|
||||
#if !defined(__MACTYPES__)
|
||||
typedef unsigned char Byte; /* 8 bits */
|
||||
#endif
|
||||
typedef unsigned int uInt; /* 16 bits or more */
|
||||
|
||||
Reference in New Issue
Block a user