Title: [161410] trunk/Source/WebCore
- Revision
- 161410
- Author
- [email protected]
- Date
- 2014-01-06 23:26:58 -0800 (Mon, 06 Jan 2014)
Log Message
Mountain Lion build fix.
* bindings/objc/WebKitAvailability.h: #define __AVAILABILITY_INTERNAL__MAC_TBD so that
the TBD version works on Mountain Lion. Newer OS versions use a slightly different set
of macros that already support this version. Add a missing #include so that defintions
of the Foundation availability macros can be found even if no other Foundation headers
were included first.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (161409 => 161410)
--- trunk/Source/WebCore/ChangeLog 2014-01-07 07:19:46 UTC (rev 161409)
+++ trunk/Source/WebCore/ChangeLog 2014-01-07 07:26:58 UTC (rev 161410)
@@ -1,3 +1,13 @@
+2014-01-06 Mark Rowe <[email protected]>
+
+ Mountain Lion build fix.
+
+ * bindings/objc/WebKitAvailability.h: #define __AVAILABILITY_INTERNAL__MAC_TBD so that
+ the TBD version works on Mountain Lion. Newer OS versions use a slightly different set
+ of macros that already support this version. Add a missing #include so that defintions
+ of the Foundation availability macros can be found even if no other Foundation headers
+ were included first.
+
2014-01-06 Gyuyoung Kim <[email protected]>
Unreviewed, rolling out r161401.
Modified: trunk/Source/WebCore/bindings/objc/WebKitAvailability.h (161409 => 161410)
--- trunk/Source/WebCore/bindings/objc/WebKitAvailability.h 2014-01-07 07:19:46 UTC (rev 161409)
+++ trunk/Source/WebCore/bindings/objc/WebKitAvailability.h 2014-01-07 07:26:58 UTC (rev 161410)
@@ -29,12 +29,15 @@
#import <TargetConditionals.h>
#if !TARGET_OS_IPHONE
+#import <Foundation/Foundation.h>
#define WEBKIT_AVAILABLE_MAC(introduced) NS_AVAILABLE_MAC(introduced)
#define WEBKIT_CLASS_AVAILABLE_MAC(introduced) NS_CLASS_AVAILABLE_MAC(introduced)
#define WEBKIT_ENUM_AVAILABLE_MAC(introduced) NS_ENUM_AVAILABLE_MAC(introduced)
#define WEBKIT_DEPRECATED_MAC(introduced, deprecated) NS_DEPRECATED_MAC(introduced, deprecated)
+#define __AVAILABILITY_INTERNAL__MAC_TBD __attribute__((availability(macosx,introduced=9876.5)))
+
#else
#define WEBKIT_AVAILABLE_MAC(introduced)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes