[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Compiling 2.1.7 on Mac OS X
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] Compiling 2.1.7 on Mac OS X |
Date: |
Wed, 31 Mar 2004 23:54:10 +0200 (CEST) |
> This seems to work. I'm not sure how this is supposed to be quoted.
> CFLAGS="$CFLAGS -DOS_INLINE='static __inline'" produces
> "-DOS_INLINE=static __inline" on the command line so I guess it's
> okay.
>
> The system headers say:
> #ifndef OS_INLINE
> #define OS_INLINE static inline
> #endif
>
> so this seems to be valid.
I suggest a different patch, see below. Please test.
Werner
======================================================================
--- ftmac.c Sat Mar 20 15:19:59 2004
+++ ftmac.c.new Wed Mar 31 23:51:56 2004
@@ -66,6 +66,8 @@
#ifdef __GNUC__
#include "../truetype/ttobjs.h"
#include "../type1/t1objs.h"
+ /* the next line is for gcc on Mac OS X */
+#define OS_INLINE static __inline__
#include <Carbon/Carbon.h>
#else
#include "truetype/ttobjs.h"
- Re: [Freetype] Compiling 2.1.7 on Mac OS X,
Werner LEMBERG <=