import cyrus-sasl-2.1.23
[cyrus-sasl.git] / mac / CommonKClient / mac_kclient3 / Headers / KerberosSupport / KerberosConditionalMacros.h
1 /*\r * Shim header file to get the functionality of ConditionalMacros.h\r * in all environments\r */\r \r#ifndef KERBEROSCONDITIONALMACROS_H\r#define KERBEROSCONDITIONALMACROS_H\r\r#if defined(macintosh) && !(defined(__MACH__) && defined(__APPLE__))\r\r    /* Mac OS 8 and 9 */\r    #include <ConditionalMacros.h>\r\r#elif defined(__GNUC__) && ( defined(__APPLE_CPP__) || defined(__APPLE_CC__) || defined(__MACOS_CLASSIC__))\r    \r    /* Mac OS X compilers we support */\r    #include <TargetConditionals.h>                    /* Darwin macros: TARGET_OS_*, TARGET_CPU_*, TARGET_RT_* */\r\r    /* Things we use which are not defined by Darwin's conditional macros */\r    #define TARGET_API_MAC_CARBON                                     1       /* Currently we require Carbon */\r    #define TARGET_API_MAC_OSX                                                1       /* This is a Mac OS X box */\r    #define BAGEL_STAPLING                                                 1   /* We love Mac OS X */\r    #define ALL_YOUR_KERBEROS_ARE_BELONG_TO_US               1       /* We love Kerberos */\r\r#else\r    #error "Unsupported environment"\r#endif\r\r#endif /* KERBEROSCONDITIONALMACROS_H */\r