1 /*
2  * Shim header file to get the functionality of ConditionalMacros.h
3  * in all environments
4  */
5 
6 #ifndef KERBEROSCONDITIONALMACROS_H
7 #define KERBEROSCONDITIONALMACROS_H
8 
9 #if defined(macintosh) && !(defined(__MACH__) && defined(__APPLE__))
10 
11     /* Mac OS 8 and 9 */
12     #include <ConditionalMacros.h>
13 
14 #elif defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__))
15 
16     /* Mac OS X compilers we support */
17     #include <TargetConditionals.h>			/* Darwin macros: TARGET_OS_*, TARGET_CPU_*, TARGET_RT_* */
18 
19     /* Things we use which are not defined by Darwin's conditional macros */
20     #define TARGET_API_MAC_CARBON					1	/* Currently we require Carbon */
21     #define TARGET_API_MAC_OSX						1	/* This is a Mac OS X box */
22     #define BAGEL_STAPLING							1   /* We love Mac OS X */
23     #define ALL_YOUR_KERBEROS_ARE_BELONG_TO_US		1	/* We love Kerberos */
24 
25 #else
26     #error "Unsupported environment"
27 #endif
28 
29 #endif /* KERBEROSCONDITIONALMACROS_H */
30