Disable warnings about #pragma mark - in the right place this time
authorKevin Koch <kpkoch@mit.edu>
Thu, 14 Jun 2007 18:18:03 +0000 (18:18 +0000)
committerKevin Koch <kpkoch@mit.edu>
Thu, 14 Jun 2007 18:18:03 +0000 (18:18 +0000)
TargetVersion: 1.7
Component: krb5-libs
Ticket: 19569
Subj: Tweaks for 1.7 build on Windows.

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

src/ccapi/common/cci_common.h
src/ccapi/lib/ccapi_ccache.c

index ee4d42d1ddec6db0d3a79efb1d7b88b80d754265..09b4892cec44719b7a8321d838de96c8089749b5 100644 (file)
@@ -36,6 +36,7 @@
 #else
 #include "win-mac.h"
 #define VECTOR_FUNCTIONS_INITIALIZER
+#pragma warning (disable: 4068)
 #endif
 
 #include <stdarg.h>
index d486b536957671ddca3c3a81c5c101a23b80498b..5a975810c2ac49522221c87abc64ae7fa616726a 100644 (file)
@@ -34,8 +34,6 @@
 #if TARGET_OS_MAC
 #warning Workaround for AppleConnect crash causes leak
 #include <CoreFoundation/CoreFoundation.h>
-#else
-#pragma warning (disable: 4068)
 #endif
 
 /* ------------------------------------------------------------------------ */