From e5f4990f071311500ce38a7650b8932a89348ad0 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Mon, 20 Sep 2010 16:10:23 +0000 Subject: [PATCH] r330 | jonas | 2010-09-20 18:09:58 +0200 (Mon, 20 Sep 2010) | 2 lines * SecTrust is only for TARGET_OS_MAC (mantis #17427) git-svn-id: trunk@16031 - --- packages/univint/src/SecTrust.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/univint/src/SecTrust.pas b/packages/univint/src/SecTrust.pas index 1404472aec..332a1a14aa 100644 --- a/packages/univint/src/SecTrust.pas +++ b/packages/univint/src/SecTrust.pas @@ -186,6 +186,7 @@ uses MacTypes,SecBase,cssmtype,cssmapple,CFBase,CFArray,CFData,CFDate; {$endc} {not MACOSALLINCLUDE} +{$ifc TARGET_OS_MAC} {! @header SecTrust @@ -429,6 +430,7 @@ function SecTrustGetUserTrust( certificate: SecCertificateRef; policy: SecPolicy function SecTrustSetUserTrust( certificate: SecCertificateRef; policy: SecPolicyRef; trustSetting: SecTrustUserSetting ): OSStatus; external name '_SecTrustSetUserTrust'; (* DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER *) +{$endc} {TARGET_OS_MAC} {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE} end.