freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Re: [Freetype] Compiling 2.1.7 on Mac OS X


From: Garrick Meeker
Subject: Re: [Devel] Re: [Freetype] Compiling 2.1.7 on Mac OS X
Date: Mon, 12 Apr 2004 01:18:31 -0700
User-agent: KMail/1.6.1

Yes, this patch works.  You should also remove the XX_ANSICFLAGS in configure 
(which tried to remove -ansi, is misspelled so it doesn't work, and is not 
needed with this patch.)

On Wednesday 31 March 2004 01:54 pm, Werner LEMBERG wrote:
> > 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
> address@hidden
> http://www.freetype.org/mailman/listinfo/devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]