[Fluxus] 0.14b1 on macos
nik gaffney
nik at fo.am
Sat Jan 5 23:07:03 PST 2008
> distinguishing macos versions could be done in scons using:
>
> if env['PLATFORM'] == 'darwin':
> from platform import mac_ver
> macos_version = mac_ver()[0].split('.')
> env.Append(CCFLAGS = ['-DMACOS_MAJOR_VERSION=' + macos_version[0],
> '-DMACOS_MINOR_VERSION=' + macos_version[1]])
>
>
> we could use MACOS_MAJOR_VERSION and MACOS_MINOR_VERSION in
> PolyGlyph.cpp to switch between the gluTessCallback calls. these should
> be 10 and 4 on tiger and 10 and 5 on leopard. what do you think?
i had a quick look around but haven't found a 'correct' way of
deteriming the osx version at complie time. perhaps using
AvailabilityMacros.h might provide a more foolproof mechanism.
nik
More information about the Fluxus
mailing list