зеркало из https://github.com/mozilla/gecko-dev.git
correct use of MAC_OS_X_VERSION_MAX_ALLOWED
This commit is contained in:
Родитель
8d046ba95a
Коммит
235d2e3e00
|
@ -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";
|
||||
|
|
Загрузка…
Ссылка в новой задаче