ref: 86a3ee76132cc87deeba1e856bd864fa8bdedaf2
parent: 14ffe0911f01cc923d25f2053afb1be79b8d7a93
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Mon Mar 26 01:40:55 EDT 2007
Disable Carbon framework dependency on 64bit ABI of Mac OS X 10.4.x
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-26 suzuki toshiya <[email protected]>
+
+ * builds/unix/ftconfig.in: disable Carbon framework dependency on
+ 64bit ABI on Mac OS X 10.4.x (ppc & i386), found by Sean McBride.
+ * builds/vms/ftconfig.h: Ditto.
+ * include/freetype/config/ftconfig.h: Ditto.
+
2007-03-22 suzuki toshiya <[email protected]>
* builds/unix/ftsystem.c (FT_Stream_Open): Temporary fix to prevent
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -100,7 +100,10 @@
/* */
#if ( defined( __APPLE__ ) && !defined( DARWIN_NO_CARBON ) ) || \
( defined( __MWERKS__ ) && defined( macintosh ) )
-#if defined( __ppc64__ ) /* no Carbon for ppc64 */
+ /* no Carbon frameworks for 64bit 10.4.x */
+#include "AvailabilityMacros.h"
+#if defined( __LP64__ ) && \
+ ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
#define DARWIN_NO_CARBON 1
#else
#define FT_MACINTOSH 1
--- a/builds/vms/ftconfig.h
+++ b/builds/vms/ftconfig.h
@@ -101,7 +101,14 @@
/* */
#if ( defined( __APPLE__ ) && !defined( DARWIN_NO_CARBON ) ) || \
( defined( __MWERKS__ ) && defined( macintosh ) )
+ /* no Carbon frameworks for 64bit 10.4.x */
+#include "AvailabilityMacros.h"
+#if defined( __LP64__ ) && \
+ ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
+#define DARWIN_NO_CARBON 1
+#else
#define FT_MACINTOSH 1
+#endif
#endif
--- a/include/freetype/config/ftconfig.h
+++ b/include/freetype/config/ftconfig.h
@@ -126,7 +126,14 @@
/* */
#if ( defined( __APPLE__ ) && !defined( DARWIN_NO_CARBON ) ) || \
( defined( __MWERKS__ ) && defined( macintosh ) )
+ /* no Carbon frameworks for 64bit 10.4.x */
+#include "AvailabilityMacros.h"
+#if defined( __LP64__ ) && \
+ ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
+#define DARWIN_NO_CARBON 1
+#else
#define FT_MACINTOSH 1
+#endif
#endif