[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: [Devel] Re: [Freetype] Compiling 2.1.7 on Mac OS X
From: Werner LEMBERG <wl () gnu ! org>
Date: 2004-03-31 21:54:10
Message-ID: 20040331.235410.42780752.wl () gnu ! org
[Download RAW message or body]
> 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"
_______________________________________________
Devel mailing list
Devel@freetype.org
http://www.freetype.org/mailman/listinfo/devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic