From 440b403f39ac353aa8cd79779ee547fb4966c974 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Tue, 11 Oct 2011 10:44:39 -0500 Subject: [PATCH] Adding additional pre-processor directives for network activity indicator manager --- AFNetworking/AFNetworkActivityIndicatorManager.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/AFNetworking/AFNetworkActivityIndicatorManager.h b/AFNetworking/AFNetworkActivityIndicatorManager.h index 31b1fb8..d054f17 100644 --- a/AFNetworking/AFNetworkActivityIndicatorManager.h +++ b/AFNetworking/AFNetworkActivityIndicatorManager.h @@ -22,11 +22,14 @@ #import +#import + +#if __IPHONE_OS_VERSION_MIN_REQUIRED +#import + /** `AFNetworkActivityIndicatorManager` manages the state of the network activity indicator in the status bar. When enabled, it will listen for notifications indicating that a network request operation has started or finished, and start or stop animating the indicator accordingly. The number of active requests is incremented and decremented much like a stack or a semaphore, and the activity indicator will animate so long as that number is greater than zero. */ - -#if __IPHONE_OS_VERSION_MIN_REQUIRED @interface AFNetworkActivityIndicatorManager : NSObject { @private NSInteger _activityCount;