[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes i
From: |
Sean McBride |
Subject: |
Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk |
Date: |
Mon, 26 Mar 2007 10:43:03 -0400 |
On 3/26/07 4:47 PM, address@hidden said:
>Just I've updated ftconfig.in and ftconfig.h (for
>some building system without running configure) as
>following:
>
>#if ( defined( __APPLE__ ) && !defined( DARWIN_NO_CARBON ) ) || \
> ( defined( __MWERKS__ ) && defined( macintosh ) )
> /* no Carbon frameworks for 64bit 10.4.x */
>#include "AvailabilityMacros.h"
>#if defined( __LP64__ ) && \
> ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
MAC_OS_X_VERSION_10_4 is not always defined (for example on 10.2
systems), but it is probably always defined if __LP64__ is defined.
Still, this would be safer:
#if defined( __LP64__ ) && \
( MAC_OS_X_VERSION_MIN_REQUIRED <= 1040 )
or
#if defined( __LP64__ ) && \
defined( MAC_OS_X_VERSION_10_4 ) && \
(MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4) )
>#define DARWIN_NO_CARBON 1
>#else
>#define FT_MACINTOSH 1
>#endif
>#endif
>
>However, I'm not sure whether 10.5.x will set default
>MAC_OS_X_VERSION_MIN_REQUIRED to 10.5 (system including
>Carbon) or 10.4 (Carbon-free system).
Alas, I cannot discuss 10.5. But I'll just say the above checks look
good to me.
--
____________________________________________________________
Sean McBride, B. Eng address@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, (continued)
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, mpsuzuki, 2007/03/21
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Sean McBride, 2007/03/22
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, mpsuzuki, 2007/03/22
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Sean McBride, 2007/03/23
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, mpsuzuki, 2007/03/23
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Sean McBride, 2007/03/23
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, mpsuzuki, 2007/03/23
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Sean McBride, 2007/03/23
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Jjgod Jiang, 2007/03/24
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, mpsuzuki, 2007/03/26
- Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk,
Sean McBride <=
Re: [ft-devel] Minor misc patches to freetype cvs, from custom changes in vtk, Werner LEMBERG, 2007/03/21