Jeremy Sequoia added the comment:

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)

----------
nosy: +jeremyhu

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27806>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to