[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Freetype 2.1.3 Mac bugs
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] Freetype 2.1.3 Mac bugs |
Date: |
Fri, 06 Jun 2003 14:37:36 +0200 (CEST) |
> It has been pointed out before that ftmac.c has problems with
> Metrowerks CodeWarrior. The issue is not C versus Pascal strings,
> it's the format for pathnames. Project Builder uses UNIX paths, in
> which the directory separator is a forward-slash (/). CodeWarrior
> uses classic Mac paths, in which the directory separator is a colon
> (:). Probably FSPathMakeRef() requires the UNIX format regardless of
> which compiler is used.
>
> To accommodate CodeWarrior, I suggest changing the conditional as
> follows:
>
> #if TARGET_API_MAC_CARBON && ! defined(__MWERKS__)
I've done this for file_spec_from_path.
Werner