From 22397f9bb08e6f38528bb53e1fd693468800041e Mon Sep 17 00:00:00 2001 From: Buzz Andersen Date: Thu, 7 May 2009 13:45:07 -0400 Subject: [PATCH] Undoing my attempted (ill-advised) preprocessor fix. --- security/SFHFKeychainUtils.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/SFHFKeychainUtils.m b/security/SFHFKeychainUtils.m index c56a35d..283841e 100644 --- a/security/SFHFKeychainUtils.m +++ b/security/SFHFKeychainUtils.m @@ -32,7 +32,7 @@ static NSString *SFHFKeychainUtilsErrorDomain = @"SFHFKeychainUtilsErrorDomain"; -#if TARGET_IPHONE_SIMULATOR & OBJC_API_VERSION < 2 +#if TARGET_IPHONE_SIMULATOR @interface SFHFKeychainUtils (PrivateMethods) + (SecKeychainItemRef) getKeychainItemReferenceForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error; @end @@ -40,7 +40,7 @@ + (SecKeychainItemRef) getKeychainItemReferenceForUsername: (NSString *) usernam @implementation SFHFKeychainUtils -#if TARGET_IPHONE_SIMULATOR & OBJC_API_VERSION < 2 +#if TARGET_IPHONE_SIMULATOR + (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error { if (!username || !serviceName) {