diff options
-rw-r--r-- | chromium/base/mac/foundation_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/base/mac/foundation_util.h b/chromium/base/mac/foundation_util.h index 1f68e581ed7..af946ba60a4 100644 --- a/chromium/base/mac/foundation_util.h +++ b/chromium/base/mac/foundation_util.h @@ -53,10 +53,10 @@ typedef CR_FORWARD_ENUM(unsigned int, NSSearchPathDirectory); typedef unsigned int NSSearchPathDomainMask; #endif -// The SECTYPE check is a workaround for a presumably wrong macOS SDK detection. -// This macro was removed from Security.framework of the 10.15 SDK: +// The CSSM_DEPRECATED check is a workaround for a presumably wrong MacOSX SDK detection. +// This macro was added to the Security.framework in the 10.15 SDK: // http://codeworkshop.net/objc-diff/sdkdiffs/macos/10.15/Security.html at SecBase.h -#if defined(OS_IOS) || (defined(MAC_OS_X_VERSION_10_15) && !defined(SECTYPE)) +#if defined(OS_IOS) || (defined(MAC_OS_X_VERSION_10_15) && defined(CSSM_DEPRECATED)) typedef struct CF_BRIDGED_TYPE(id) __SecCertificate* SecCertificateRef; typedef struct CF_BRIDGED_TYPE(id) __SecKey* SecKeyRef; typedef struct CF_BRIDGED_TYPE(id) __SecPolicy* SecPolicyRef; |