diff options
author | Michael Sweet <michael.r.sweet@gmail.com> | 2016-04-19 15:22:33 -0400 |
---|---|---|
committer | Michael Sweet <michael.r.sweet@gmail.com> | 2016-04-19 15:22:33 -0400 |
commit | de8c34f8bdc66b758dea98dfef90dd204ea57aff (patch) | |
tree | 51f05136e43c1f56c17d00f27413ca7ad94db05c /cups/http-private.h | |
parent | 6b4bf984e5f275f0d3fe479c6e081409200e0401 (diff) |
Check for newer Security framework header version to avoid compiler error.
Diffstat (limited to 'cups/http-private.h')
-rw-r--r-- | cups/http-private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cups/http-private.h b/cups/http-private.h index 10c624670..89e61d459 100644 --- a/cups/http-private.h +++ b/cups/http-private.h @@ -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; |