X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..ed1e77d3adeb83d26fd1dfb16dd84cabdcefd250:/API/WebKitAvailability.h?ds=sidebyside diff --git a/API/WebKitAvailability.h b/API/WebKitAvailability.h index 24695ed..250d410 100644 --- a/API/WebKitAvailability.h +++ b/API/WebKitAvailability.h @@ -31,15 +31,19 @@ #include #include -#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED <= 1090 +#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED < 101100 /* To support availability macros that mention newer OS X versions when building on older OS X versions, we provide our own definitions of the underlying macros that the availability macros expand to. We're free to expand the macros as no-ops since frameworks built on older OS X versions only ship bundled with an application rather than as part of the system. */ -#ifndef __NSi_10_10 -#define __NSi_10_10 introduced=10.0 +#ifndef __NSi_10_10 // Building from trunk rather than SDK. +#define __NSi_10_10 introduced=10.0 // Use 10.0 to indicate that everything is available. +#endif + +#ifndef __NSi_10_11 // Building from trunk rather than SDK. +#define __NSi_10_11 introduced=10.0 // Use 10.0 to indicate that everything is available. #endif #ifndef __AVAILABILITY_INTERNAL__MAC_10_9 @@ -58,7 +62,7 @@ #define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER #endif -#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED <= 1090 */ +#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED <= 101100 */ #else #define CF_AVAILABLE(_mac, _ios)