SOSPlatform.h
1 #ifndef _SEC_SOSPLATFORM_H_ 2 #define _SEC_SOSPLATFORM_H_ 3 4 #include <TargetConditionals.h> 5 6 #if __has_include(<CrashReporterClient.h>) 7 #define HAVE_CRASHREPORTERCLIENT 1 8 #include <CrashReporterClient.h> 9 #else // __has_include(<CrashReporterClient.h>) 10 #define HAVE_CRASHREPORTERCLIENT 0 11 #endif // __has_include(<CrashReporterClient.h>) 12 13 #if TARGET_OS_IOS && !TARGET_OS_SIMULATOR 14 #define HAVE_KEYBAG 1 15 #else // TARGET_OS_IOS && !TARGET_OS_SIMULATOR 16 #define HAVE_KEYBAG 0 17 #endif // TARGET_OS_IOS && !TARGET_OS_SIMULATOR 18 19 #if HAVE_KEYBAG 20 #define CONFIG_ARM_AUTOACCEPT 1 21 #else // HAVE_KEYBAG 22 #define CONFIG_ARM_AUTOACCEPT 0 23 #endif // HAVE_KEYBAG 24 25 #endif /* _SEC_SOSPLATFORM_H_ */