diff --git a/ChangeLog b/ChangeLog index e0bd9d519..09486ada7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-30 suzuki toshiya + + * src/base/Jamfile: Add target for multi build by jam on Mac OS X. + * src/base/ftobjs.c (FT_New_Face): Fix the condition to include + this function for MPW building. It is synchronized the condition + to include ftmac.c source into ftbase.c. + 2008-09-22 Werner Lemberg * src/cff/cffgload.c (CFF_Operator, cff_argument_counts, diff --git a/src/base/Jamfile b/src/base/Jamfile index e025769e2..3734a257e 100644 --- a/src/base/Jamfile +++ b/src/base/Jamfile @@ -46,5 +46,12 @@ if $(MAC) { Library $(FT2_LIB) : ftmac.c ; } +else if $(OS) = MACOSX +{ + if $(FT2_MULTI) + { + Library $(FT2_LIB) : ftmac.c ; + } +} # end of src/base Jamfile diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 026691ed7..2b49b2f75 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -1117,7 +1117,7 @@ /* there's a Mac-specific extended implementation of FT_New_Face() */ /* in src/base/ftmac.c */ -#ifndef FT_MACINTOSH +#if !defined( __APPLE__ ) || defined( DARWIN_NO_CARBON ) /* documentation is in freetype.h */ @@ -1140,7 +1140,7 @@ return FT_Open_Face( library, &args, face_index, aface ); } -#endif /* !FT_MACINTOSH */ +#endif /* defined( __APPLE__ ) && !defined( DARWIN_NO_CARBON ) */ /* documentation is in freetype.h */