Skip to content

Commit

Permalink
update version check to make #if work for iOS >= 4
Browse files Browse the repository at this point in the history
  • Loading branch information
unintended committed Oct 25, 2011
1 parent 17450bd commit 6cda5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SDImageCache.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ - (id)init
name:UIApplicationWillTerminateNotification
object:nil];

#ifdef __IPHONE_4_0
#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_4_0
UIDevice *device = [UIDevice currentDevice];
if ([device respondsToSelector:@selector(isMultitaskingSupported)] && device.multitaskingSupported)
{
Expand Down

0 comments on commit 6cda5dc

Please sign in to comment.