Open tdegeus opened 3 years ago
It seems indeed that TARGET_OS_OSX
is not part of TargetConditionals.h
? See https://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-8A428/TargetConditionals.h.auto.html
It's certainly not part of that 2004 Mac OS X 10.4-era version of TargetConditionals.h. It is part of later versions of TargetConditionals.h. I don't have a link for you. Your link to the old version was to CarbonHeaders; Carbon is ancient history. TargetConditionals.h is now undoubtedly considered part of some other macOS component, possibly one which is not posted to opensource.apple.com.
@ryandesign Does 10.5 have it already? I never tested Catch2 on Tiger.
Does 10.5 have it already?
You can grep through the various SDK versions to determine when TARGET_OS_OSX
came into existence just as well as I can, but it was added in order to distinguish macOS (which was called Mac OS X at the time) from iOS (which was iPhoneOS at the time). iPhone was introduced in 2007 but support for third-party apps was not added until iPhoneOS 2 in 2008.
Building the latest release on for the conda feedstock, here https://github.com/conda-forge/catch2-feedstock/pull/37 , gives the following error on OSX: