Adopt the API_AVAILABLE family of macros from macOS Sierra and iOS 10’s CFAvailability.h.
Created attachment 282618 [details] Patch for EWS
Created attachment 282621 [details] Patch for EWS
Created attachment 282654 [details] Patch for EWS
Created attachment 282655 [details] Patch for EWS
Created attachment 282658 [details] Patch for EWS
Created attachment 282660 [details] Use modern availability macros
Committed <http://trac.webkit.org/r202789>.
Reopening since removing the NA annotations made things available on those platforms.
Created attachment 282663 [details] Add TARGET_OS_* guards
Attachment 282663 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:3: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 282666 [details] Another one for EWS
Attachment 282666 [details] did not pass style-queue: ERROR: Source/WebKit2/ChangeLog:3: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Committed <http://trac.webkit.org/r202793>.