at 18.03-beta 62 lines 2.1 kB view raw
1diff --git a/Source/JavaScriptCore/API/WebKitAvailability.h b/Source/JavaScriptCore/API/WebKitAvailability.h 2index ab53183..1310dec 100644 3--- a/Source/JavaScriptCore/API/WebKitAvailability.h 4+++ b/Source/JavaScriptCore/API/WebKitAvailability.h 5@@ -27,57 +27,12 @@ 6 #define __WebKitAvailability__ 7 8 #if defined(__APPLE__) 9- 10-#include <AvailabilityMacros.h> 11 #include <CoreFoundation/CoreFoundation.h> 12- 13-#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED < 101100 14-/* To support availability macros that mention newer OS X versions when building on older OS X versions, 15- we provide our own definitions of the underlying macros that the availability macros expand to. We're 16- free to expand the macros as no-ops since frameworks built on older OS X versions only ship bundled with 17- an application rather than as part of the system. 18-*/ 19- 20-#ifndef __NSi_10_10 // Building from trunk rather than SDK. 21-#define __NSi_10_10 introduced=10.0 // Use 10.0 to indicate that everything is available. 22-#endif 23- 24-#ifndef __NSi_10_11 // Building from trunk rather than SDK. 25-#define __NSi_10_11 introduced=10.0 // Use 10.0 to indicate that everything is available. 26-#endif 27- 28-#ifndef __NSi_10_12 // Building from trunk rather than SDK. 29-#define __NSi_10_12 introduced=10.0 // Use 10.0 to indicate that everything is available. 30-#endif 31- 32-#ifndef __AVAILABILITY_INTERNAL__MAC_10_9 33-#define __AVAILABILITY_INTERNAL__MAC_10_9 34-#endif 35- 36-#ifndef __AVAILABILITY_INTERNAL__MAC_10_10 37-#define __AVAILABILITY_INTERNAL__MAC_10_10 38 #endif 39 40-#ifndef AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER 41-#define AVAILABLE_MAC_OS_X_VERSION_10_9_AND_LATER 42-#endif 43- 44-#ifndef AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER 45-#define AVAILABLE_MAC_OS_X_VERSION_10_10_AND_LATER 46-#endif 47- 48-#endif /* __MAC_OS_X_VERSION_MIN_REQUIRED <= 101100 */ 49- 50-#if defined(BUILDING_GTK__) 51 #undef CF_AVAILABLE 52 #define CF_AVAILABLE(_mac, _ios) 53 #undef CF_ENUM_AVAILABLE 54 #define CF_ENUM_AVAILABLE(_mac, _ios) 55-#endif 56- 57-#else 58-#define CF_AVAILABLE(_mac, _ios) 59-#define CF_ENUM_AVAILABLE(_mac, _ios) 60-#endif 61 62 #endif /* __WebKitAvailability__ */