Title: [185810] trunk/Source/WebKit2
- Revision
- 185810
- Author
- [email protected]
- Date
- 2015-06-21 09:01:51 -0700 (Sun, 21 Jun 2015)
Log Message
Build fix.
* Shared/API/Cocoa/WKFoundation.h: Don’t use generics if the SDK doesn’t support them.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (185809 => 185810)
--- trunk/Source/WebKit2/ChangeLog 2015-06-21 15:57:04 UTC (rev 185809)
+++ trunk/Source/WebKit2/ChangeLog 2015-06-21 16:01:51 UTC (rev 185810)
@@ -1,3 +1,9 @@
+2015-06-21 Dan Bernstein <[email protected]>
+
+ Build fix.
+
+ * Shared/API/Cocoa/WKFoundation.h: Don’t use generics if the SDK doesn’t support them.
+
2015-06-21 Michael Catanzaro <[email protected]>
[SOUP] Use GTask in WebKitSoupRequestInputStream
Modified: trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h (185809 => 185810)
--- trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h 2015-06-21 15:57:04 UTC (rev 185809)
+++ trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h 2015-06-21 16:01:51 UTC (rev 185810)
@@ -49,7 +49,7 @@
#define WK_ENUM_AVAILABLE(_mac, _ios)
#define WK_ENUM_AVAILABLE_IOS(_ios)
-#if __has_feature(objc_generics)
+#if __has_feature(objc_generics) && (!defined(__MAC_OS_X_VERSION_MAX_ALLOWED) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
#define WK_ARRAY(_objectType) NSArray<_objectType>
#define WK_DICTIONARY(_keyType, _valueType) NSDictionary<_keyType, _valueType>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes