⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185810 in webkit


Ignore:
Timestamp:
Jun 21, 2015, 9:01:51 AM (11 years ago)
Author:
mitz@apple.com
Message:

Build fix.

  • Shared/API/Cocoa/WKFoundation.h: Don’t use generics if the SDK doesn’t support them.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r185808 r185810  
     12015-06-21  Dan Bernstein  <mitz@apple.com>
     2
     3        Build fix.
     4
     5        * Shared/API/Cocoa/WKFoundation.h: Don’t use generics if the SDK doesn’t support them.
     6
    172015-06-21  Michael Catanzaro  <mcatanzaro@igalia.com>
    28
  • trunk/Source/WebKit2/Shared/API/Cocoa/WKFoundation.h

    r185803 r185810  
    5050#define WK_ENUM_AVAILABLE_IOS(_ios)
    5151
    52 #if __has_feature(objc_generics)
     52#if __has_feature(objc_generics) && (!defined(__MAC_OS_X_VERSION_MAX_ALLOWED) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
    5353
    5454#define WK_ARRAY(_objectType) NSArray<_objectType>
Note: See TracChangeset for help on using the changeset viewer.