Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Compile AFNetworking for iOS 6 and iOS 7
Browse files Browse the repository at this point in the history
- By using __IPHONE_OS_VERSION_MAX_ALLOWED and
  __MAC_OS_X_VERSION_MAX_ALLOWED, it will allow users who have minimum
  of iOS 6 or Mac OSX 10.8 to levarage NSURLSession for users on iOS 7
  and Mac OSX 10.9
  • Loading branch information
Matt Baker committed Oct 2, 2013
1 parent 0a3de62 commit 026900b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AFNetworking/AFNetworking.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
#import "AFHTTPRequestOperation.h"
#import "AFHTTPRequestOperationManager.h"

#if ( ( defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090) || \
( defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 70000 ) )
#if ( ( defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1090) || \
( defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000 ) )
#import "AFURLSessionManager.h"
#import "AFHTTPSessionManager.h"
#endif
Expand Down

0 comments on commit 026900b

Please sign in to comment.