From 329db8b64f17c8ef013c586cea1f1c5b49c4a4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 6 Jun 2023 23:28:43 +0200 Subject: [PATCH] macOS: Remove fallback defines for MAC_OS_X_VERSION_MIN_REQUIRED Availability.h from the platform SDK should take care of this these days. Pick-to: 6.6 Change-Id: I23dd821682db66a1f22b1240d485f4a9cc877cd8 Reviewed-by: Thiago Macieira --- src/corelib/global/qsystemdetection.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h index 50acd688d6..a41062c2d2 100644 --- a/src/corelib/global/qsystemdetection.h +++ b/src/corelib/global/qsystemdetection.h @@ -170,17 +170,6 @@ # include # include # -# 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 # // we define the missing version names in case Qt uses them. #