From be72f5fe1f4fe18abb4febce4ab8a92c8ee07e59 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Thu, 31 Jan 2013 07:06:26 +0000 Subject: [PATCH] [Issue #767] Consolidating macros --- AFNetworking/AFURLConnectionOperation.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/AFNetworking/AFURLConnectionOperation.h b/AFNetworking/AFURLConnectionOperation.h index d300653..233627d 100644 --- a/AFNetworking/AFURLConnectionOperation.h +++ b/AFNetworking/AFURLConnectionOperation.h @@ -76,11 +76,9 @@ - Operation copies do not include `completionBlock`. `completionBlock` often strongly captures a reference to `self`, which would otherwise have the unintuitive side-effect of pointing to the _original_ operation when copied. */ @interface AFURLConnectionOperation : NSOperation = __IPHONE_5_0 -NSURLConnectionDataDelegate, -#endif -#if __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8 -NSURLConnectionDataDelegate, +#if (defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_5_0) || \ + (defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_8) +NSURLConnectionDataDelegate, #endif NSCoding, NSCopying>