Message276613
AvailabilityMacros.h is super deprecated and should not be used by anything current. Availability.h was added as replacement in 10.5.
__MAC_OS_X_VERSION_MAX_ALLOWED should be checked instead of defined (DEPRECATED_IN_MAC_OS_X_VERSION_10_12_AND_LATER)
You should really have a central config and use that instead. Eg:
#include <Availability.h>
#define APPLE_SUPPORTS_QUICKTIME (__MAC_OS_X_VERSION_MAX_ALLOWED < 101200) || !__LP64__
Then use APPLE_SUPPORTS_QUICKTIME throughout. That avoids tons of churn whenever things change (as exemplified by this very bug) |
|
Date |
User |
Action |
Args |
2016-09-15 20:24:33 | jeremyhu | set | recipients:
+ jeremyhu, ronaldoussoren, belopolsky, ned.deily, tdsmith, sashk |
2016-09-15 20:24:33 | jeremyhu | set | messageid: <1473971073.08.0.478120828265.issue27806@psf.upfronthosting.co.za> |
2016-09-15 20:24:33 | jeremyhu | link | issue27806 messages |
2016-09-15 20:24:33 | jeremyhu | create | |
|