/ src / launchd / src / config.h
config.h
 1  #ifndef __CONFIG_H__
 2  #define __CONFIG_H__
 3  
 4  #include <TargetConditionals.h>
 5  
 6  #if __has_include(<quarantine.h>) && !defined(DARLING)
 7  #define HAVE_QUARANTINE 1
 8  #else
 9  #define HAVE_QUARANTINE 0
10  #endif
11  
12  #if __has_include(<responsibility.h>) && !defined(DARLING)
13  #define HAVE_RESPONSIBILITY 1
14  #else
15  #define HAVE_RESPONSIBILITY 0
16  #endif
17  
18  #if __has_include(<sandbox.h>) && !defined(DARLING)
19  #define HAVE_SANDBOX 1
20  #else
21  #define HAVE_SANDBOX 0
22  #endif
23  
24  #define HAVE_LIBAUDITD !TARGET_OS_EMBEDDED && !defined(DARLING)
25  
26  #if !TARGET_OS_EMBEDDED && __has_include(<systemstats/systemstats.h>) && !defined(DARLING)
27  #define HAVE_SYSTEMSTATS 1
28  #else
29  #define HAVE_SYSTEMSTATS 0
30  #endif
31  
32  #endif /* __CONFIG_H__ */