]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Check for newer Security framework header version to avoid compiler error.
authorMichael Sweet <michael.r.sweet@gmail.com>
Tue, 19 Apr 2016 19:22:33 +0000 (15:22 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Tue, 19 Apr 2016 19:22:33 +0000 (15:22 -0400)
cups/http-private.h

index 10c624670527fd5083d551b0b1838e3b3598bc4b..89e61d459e98df301f212bf76efee31f815b51bd 100644 (file)
@@ -97,9 +97,11 @@ typedef int socklen_t;
 #      ifdef __cplusplus
 extern "C" {
 #      endif /* __cplusplus */
+#      ifndef _SECURITY_VERSION_GREATER_THAN_57610_
 typedef CF_OPTIONS(uint32_t, SecKeyUsage) {
     kSecKeyUsageAll              = 0x7FFFFFFF
 };
+#       endif /* !_SECURITY_VERSION_GREATER_THAN_57610_ */
 extern const void * kSecCSRChallengePassword;
 extern const void * kSecSubjectAltName;
 extern const void * kSecCertificateKeyUsage;