correct use of MAC_OS_X_VERSION_MAX_ALLOWED

This commit is contained in:
pinkerton%aol.net 2005-11-14 15:32:52 +00:00
Родитель 8d046ba95a
Коммит 235d2e3e00
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -45,7 +45,7 @@
#import "Bookmark.h"
#import <AddressBook/AddressBook.h>
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
// These are not available for linkage before the 10.4 SDK. Value obtained via inspection.
static NSString * const kABURLsProperty = @"URLs";
#endif

Просмотреть файл

@ -75,7 +75,7 @@ NSString* const kPrefChangedNotificationName = @"PrefChangedNotification";
static NSString* const AdBlockingChangedNotificationName = @"AdBlockingChanged";
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_4
// These are not available for linkage before the 10.4 SDK, but the feature is in 10.3.2 and later;
// the strings were obtained by inspection.
static NSString* const kSCPropNetProxiesProxyAutoConfigEnable = @"ProxyAutoConfigEnable";