]> git.saurik.com Git - apple/security.git/blobdiff - OSX/utilities/src/SecADWrapper.c
Security-58286.1.32.tar.gz
[apple/security.git] / OSX / utilities / src / SecADWrapper.c
index 4b3e1d3e50442a9116ddaa79ec8352fbfcc68551..3f50e1126826e8331981309639feac6c54cd630b 100644 (file)
@@ -63,33 +63,40 @@ setup(void)
     });
     return bundle != NULL;
 }
+#endif
 
 void
 SecADClearScalarKey(CFStringRef key)
 {
+#if TARGET_OS_EMBEDDED
     if (setup())
         soft_ADClientClearScalarKey(key);
+#endif
 }
 
 void
 SecADSetValueForScalarKey(CFStringRef key, int64_t value)
 {
+#if TARGET_OS_EMBEDDED
     if (setup())
         soft_ADClientSetValueForScalarKey(key, value);
-
+#endif
 }
 void
 SecADAddValueForScalarKey(CFStringRef key, int64_t value)
 {
+#if TARGET_OS_EMBEDDED
     if (setup())
         soft_ADClientAddValueForScalarKey(key, value);
+#endif
 }
 
 void
 SecADClientPushValueForDistributionKey(CFStringRef key, int64_t value)
 {
+#if TARGET_OS_EMBEDDED
     if (setup())
         soft_ADClientPushValueForDistributionKey(key, value);
+#endif
 }
 
-#endif