Merge pull request #890 from noa--/lion_fix

Fix macro to work correctly under 10.7 SDK / iOS 4 SDK
This commit is contained in:
Mattt Thompson 2013-04-06 03:34:16 -07:00
commit 9fba242e48

View file

@ -93,8 +93,8 @@ typedef enum {
#endif #endif
@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate, @interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate,
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0) || \ #if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 50000) || \
(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8) (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080)
NSURLConnectionDataDelegate, NSURLConnectionDataDelegate,
#endif #endif
NSCoding, NSCopying> NSCoding, NSCopying>