hb-coretext.cc: clean up macosx test
authorKen Cunningham <kencu@macports.org>
Wed, 6 Feb 2019 04:26:49 +0000 (20:26 -0800)
committerKen Cunningham <kencu@macports.org>
Wed, 6 Feb 2019 04:26:49 +0000 (20:26 -0800)
commit7859decdd02f65dfb3da07bd95742b14b4697638
tree92726e61ede56778c1ea927285460885683f7998
parent1e06282105a2d579aab32094cc7abc10ed231978
hb-coretext.cc: clean up macosx test

TARGET_OS_OSX was introduced only in late OS versions
so always returns as "0" on older systems.

if !TARGET_OS_IPHONE can work, as it returns as !0 on older
systems where TARGET_OS_IPHONE is not defined, but is not
specific

if TARGET_OS_MAC && !(defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)
is both specific and accurate on all systems.
src/hb-coretext.cc