-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=122245 Reviewed by Mark Rowe. Enabled the Objective-C API when building on OS X 10.8 with the modern Objective-C runtime, but kept the availability attributes in API headers for 10.9 and later as they were. * API/JSBase.h: When JSC_OBJC_API_AVAILABLE_MAC_OS_X_1080 is defined, made JSC_OBJC_API_ENABLED true on 10.8 and above. * API/JSContext.h: When JSC_OBJC_API_AVAILABLE_MAC_OS_X_1080 is defined, marked the class as available on all OS X versions. * API/JSManagedValue.h: Ditto. * API/JSValue.h: Ditto. * API/JSVirtualMachine.h: Ditto. * Configurations/Base.xcconfig: Added JSC_OBJC_API_AVAILABLE_MAC_OS_X_1080 to GCC_PREPROCESSOR_DEFINITIONS. * JavaScriptCore.xcodeproj/project.pbxproj: Added a script build phase to unifdef the above header files with JSC_OBJC_API_AVAILABLE_MAC_OS_X_1080 either defined or not based on the OS X version we are targeting. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
726a68b9