macOS: Remove fallback defines for MAC_OS_X_VERSION_MIN_REQUIRED
Availability.h from the platform SDK should take care of this these days. Change-Id: I23dd821682db66a1f22b1240d485f4a9cc877cd8 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 329db8b64f17c8ef013c586cea1f1c5b49c4a4b7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
18fead0d4f
commit
10819985db
@ -171,17 +171,6 @@
|
|||||||
# include <Availability.h>
|
# include <Availability.h>
|
||||||
# include <AvailabilityMacros.h>
|
# include <AvailabilityMacros.h>
|
||||||
#
|
#
|
||||||
# ifdef Q_OS_MACOS
|
|
||||||
# if !defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED < __MAC_10_6
|
|
||||||
# undef __MAC_OS_X_VERSION_MIN_REQUIRED
|
|
||||||
# define __MAC_OS_X_VERSION_MIN_REQUIRED __MAC_10_6
|
|
||||||
# endif
|
|
||||||
# if !defined(MAC_OS_X_VERSION_MIN_REQUIRED) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
|
|
||||||
# undef MAC_OS_X_VERSION_MIN_REQUIRED
|
|
||||||
# define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
|
|
||||||
# endif
|
|
||||||
# endif
|
|
||||||
#
|
|
||||||
# // Numerical checks are preferred to named checks, but to be safe
|
# // Numerical checks are preferred to named checks, but to be safe
|
||||||
# // we define the missing version names in case Qt uses them.
|
# // we define the missing version names in case Qt uses them.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user