summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2008-07-10 22:34:39 +0000
committerTom Yu <tlyu@mit.edu>2008-07-10 22:34:39 +0000
commit3f0d8818de8cadbec77950023a69bebe22586264 (patch)
treeba769ac9bb09be58ac49b86dc07b66fb3b731a9d /src
parent2e0fbb7eb19d32772eb32125d4819ea16373e763 (diff)
downloadkrb5-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.h11
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