X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/84aacf34eae6543be9f0280b2015385f91e5c2c6..b54c578e17e9bcbd74aa30ea75e25e955b9a6205:/keychain/SecureObjectSync/SOSPlatform.h?ds=inline diff --git a/keychain/SecureObjectSync/SOSPlatform.h b/keychain/SecureObjectSync/SOSPlatform.h new file mode 100644 index 00000000..5c63c939 --- /dev/null +++ b/keychain/SecureObjectSync/SOSPlatform.h @@ -0,0 +1,25 @@ +#ifndef _SEC_SOSPLATFORM_H_ +#define _SEC_SOSPLATFORM_H_ + +#include + +#if __has_include() +#define HAVE_CRASHREPORTERCLIENT 1 +#include +#else // __has_include() +#define HAVE_CRASHREPORTERCLIENT 0 +#endif // __has_include() + +#if TARGET_OS_IOS && !TARGET_OS_SIMULATOR +#define HAVE_KEYBAG 1 +#else // TARGET_OS_IOS && !TARGET_OS_SIMULATOR +#define HAVE_KEYBAG 0 +#endif // TARGET_OS_IOS && !TARGET_OS_SIMULATOR + +#if HAVE_KEYBAG +#define CONFIG_ARM_AUTOACCEPT 1 +#else // HAVE_KEYBAG +#define CONFIG_ARM_AUTOACCEPT 0 +#endif // HAVE_KEYBAG + +#endif /* _SEC_SOSPLATFORM_H_ */