diff options
author | Tom Yu <tlyu@mit.edu> | 2008-07-10 22:34:39 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2008-07-10 22:34:39 +0000 |
commit | 3f0d8818de8cadbec77950023a69bebe22586264 (patch) | |
tree | ba769ac9bb09be58ac49b86dc07b66fb3b731a9d /src | |
parent | 2e0fbb7eb19d32772eb32125d4819ea16373e763 (diff) | |
download | krb5-3f0d8818de8cadbec77950023a69bebe22586264.tar.gz krb5-3f0d8818de8cadbec77950023a69bebe22586264.tar.xz krb5-3f0d8818de8cadbec77950023a69bebe22586264.zip |
Add comment and <TargetConditionals.h> to previous
ticket: 6010
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20512 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r-- | src/include/k5-int.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 0118015a1..f48bd223d 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -83,6 +83,13 @@ #include "osconf.h" +#if defined(__MACH__) && defined(__APPLE__) +# include <TargetConditionals.h> +# if TARGET_RT_MAC_CFM +# error "Use KfM 4.0 SDK headers for CFM compilation." +# endif +#endif + /* * Begin "k5-config.h" */ @@ -982,6 +989,10 @@ typedef struct _krb5_gic_opt_private { krb5_gic_opt_pa_data *preauth_data; } krb5_gic_opt_private; +/* + * On the Mac, ensure that the layout of krb5_gic_opt_ext matches that + * of krb5_get_init_creds_opt. + */ #if TARGET_OS_MAC # pragma pack(push,2) #endif |