Don't do UTF-8 bits (and include Apple headers) when just rebuilding dependencies
authorKen Raeburn <raeburn@mit.edu>
Thu, 24 Apr 2008 17:12:28 +0000 (17:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 24 Apr 2008 17:12:28 +0000 (17:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20306 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/arcfour/arcfour_s2k.c

index 30ef7d77ce254a9a84337a5f2fe13f7c8fa6a026..69872fc224fc4ed48388166ff9a076fbe8af4b23 100644 (file)
@@ -2,7 +2,7 @@
 #include "rsa-md4.h"
 #include "arcfour-int.h"
 
-#if TARGET_OS_MAC
+#if TARGET_OS_MAC && !defined(DEPEND)
 #include <CoreFoundation/CFString.h>
 #endif
 
@@ -11,7 +11,7 @@ utf8to16(unsigned char *utf16_buf, const char *utf8_str, size_t *len)
 {
     krb5_error_code err = 0;
     
-#if TARGET_OS_MAC
+#if TARGET_OS_MAC && !defined(DEPEND)
     CFStringRef string = NULL;
     CFIndex length = *len;