This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jeremyhu
Recipients belopolsky, jeremyhu, ned.deily, ronaldoussoren, sashk, tdsmith
Date 2016-09-15.20:24:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473971073.08.0.478120828265.issue27806@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2016-09-15 20:24:33jeremyhusetrecipients: + jeremyhu, ronaldoussoren, belopolsky, ned.deily, tdsmith, sashk
2016-09-15 20:24:33jeremyhusetmessageid: <1473971073.08.0.478120828265.issue27806@psf.upfronthosting.co.za>
2016-09-15 20:24:33jeremyhulinkissue27806 messages
2016-09-15 20:24:33jeremyhucreate