Commit 9e830c5d3fbcb6038efb1ecb9dc8de8068f97582

Just van Rossum 2000-07-28T01:12:34

Put FT_New_Face() in an #ifndef macintosh switch; ftmac.c provides an extended implementation.

diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c
index 7b1d403..903856b 100644
--- a/src/base/ftobjs.c
+++ b/src/base/ftobjs.c
@@ -1232,6 +1232,10 @@
   }
 
 
+  /* There's a Mac-specific extended implementation of FT_New_Face()
+     in src/mac/ftmac.c   */
+#ifndef macintosh
+
   /*************************************************************************/
   /*                                                                       */
   /* <Function>                                                            */
@@ -1288,6 +1292,8 @@
     return FT_Open_Face( library, &args, face_index, aface );
   }
 
+#endif  /* !macintosh */
+
 
   /*************************************************************************/
   /*                                                                       */