Skip to content

Commit

Permalink
Uses the correct conditional compilation to tell apart Mac/iPhone.
Browse files Browse the repository at this point in the history
On Snow Leopard, TARGET_OS_IPHONE is always defined, but is 0. Hence the change.
  • Loading branch information
Lukhnos D. Liu committed Aug 5, 2009
1 parent 134868e commit fa11950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LFWebAPIKit/LFSiteReachability.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
NSString *const LFSiteReachabilityConnectionTypeWWAN = @"LFSiteReachabilityConnectionTypeWWAN";
NSString *const LFSiteReachabilityNotReachableStatus = @"LFSiteReachabilityNotReachable";

#ifndef TARGET_OS_IPHONE
#if !TARGET_OS_IPHONE
#define SCNetworkReachabilityFlags SCNetworkConnectionFlags
#define kSCNetworkReachabilityFlagsConnectionRequired kSCNetworkFlagsConnectionRequired
#define kSCNetworkReachabilityFlagsReachable kSCNetworkFlagsReachable
Expand Down

0 comments on commit fa11950

Please sign in to comment.