From c98501b042d7dc3e36637f07e6d96d40bb17f71a Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 19 May 2003 20:34:42 +0000 Subject: [PATCH] Add comment to #ifdef section in #ifndef. --- src/base/ftobjs.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index 9d601e680..7a8c207de 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -1516,7 +1516,13 @@ error = IsMacResource( library, stream, 0, face_index, aface ); #ifdef FT_MACINTOSH - + /* + I know this section is within code which is normally turned off + for the Mac. It provides an alternative approach to reading the + mac resource forks on OS/X in the event that a user does not wish + to compile ftmac.c. + */ + if ( ( FT_ERROR_BASE( error ) == FT_Err_Unknown_File_Format || FT_ERROR_BASE( error ) == FT_Err_Invalid_Stream_Operation ) && ( args->flags & FT_OPEN_PATHNAME ) )