Skip to content

Commit c80bfef

Browse files
committed
Fix macro to work correctly under 10.7 SDK / iOS 4 SDK
1 parent 43b05d7 commit c80bfef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AFNetworking/AFURLConnectionOperation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ typedef enum {
9393
#endif
9494

9595
@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate,
96-
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0) || \
97-
(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8)
96+
#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && defined(__IPHONE_5_0) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0) || \
97+
(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && defined(__MAC_10_8) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8)
9898
NSURLConnectionDataDelegate,
9999
#endif
100100
NSCoding, NSCopying>

0 commit comments

Comments
 (0)