Skip to content

Commit

Permalink
Even better conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
irace committed Apr 27, 2015
1 parent c9bee17 commit a5f4446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TMCache/TMCacheBackgroundTaskManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Copyright (c) 2015 Tumblr. All rights reserved.
//

@import UIKit;

#ifndef UIBackgroundTaskIdentifier
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0
#import <UIKit/UIKit.h>
#else
typedef NSUInteger UIBackgroundTaskIdentifier;
#endif

Expand Down

0 comments on commit a5f4446

Please sign in to comment.