Add comment and <TargetConditionals.h> to previous
authorTom Yu <tlyu@mit.edu>
Thu, 10 Jul 2008 22:34:39 +0000 (22:34 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 10 Jul 2008 22:34:39 +0000 (22:34 +0000)
ticket: 6010
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20512 dc483132-0cff-0310-8789-dd5450dbe970

src/include/k5-int.h

index 0118015a17f98b54b08deee6c7446e567a9ac23d..f48bd223d5e7a81f50c4d18d8ac8e484e2afed3d 100644 (file)
 
 #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