Skip to content

Commit

Permalink
Undoing my attempted (ill-advised) preprocessor fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldandersen committed May 7, 2009
1 parent 84e8aa3 commit 22397f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions security/SFHFKeychainUtils.m
Expand Up @@ -32,15 +32,15 @@

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
#endif

@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) {
Expand Down

0 comments on commit 22397f9

Please sign in to comment.