diff --git a/ChangeLog b/ChangeLog index 1ccb500bf..66f5bc92c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-08-27 Werner Lemberg + + * src/base/ftmac.c: Don't include truetype/ttobjs.h. + Don't include type1/t1objs.h. + (FT_New_Face_From_FSSpec) [!__MWERKS__]: Remove compiler warnings. + +2004-08-27 Mathieu Malaterre + + * src/base/ftmac.c: Handle OS_INLINE for xlc compiler also. + 2004-08-27 Werner Lemberg * src/otlayout/otlayout.h: Add copyright. diff --git a/src/base/ftmac.c b/src/base/ftmac.c index c71475382..0c45372c6 100644 --- a/src/base/ftmac.c +++ b/src/base/ftmac.c @@ -63,17 +63,13 @@ #include FT_FREETYPE_H #include FT_INTERNAL_STREAM_H -#ifdef __GNUC__ -#include "../truetype/ttobjs.h" -#include "../type1/t1objs.h" +#if defined( __GNUC__ ) || defined( __IBMC__ ) /* This is for Mac OS X. Without redefinition, OS_INLINE */ /* expands to `static inline' which doesn't survive the */ /* -ansi compilation flag of GCC. */ #define OS_INLINE static __inline__ #include #else -#include "truetype/ttobjs.h" -#include "type1/t1objs.h" #include #include #include @@ -1012,11 +1008,13 @@ FT_Long face_index, FT_Face *aface ) { +#if defined( __MWERKS__ ) && !TARGET_RT_MAC_MACHO FT_Open_Args args; - FT_Error error; FT_Stream stream; FILE* file; FT_Memory memory; +#endif + FT_Error error; /* test for valid `library' and `aface' delayed to FT_Open_Face() */