Bug 143786 - No matching __NSi_ definition for postprocessed value of WK_{MAC,IOS}_TBA
Summary: No matching __NSi_ definition for postprocessed value of WK_{MAC,IOS}_TBA
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-15 10:32 PDT by mitz
Modified: 2015-04-15 10:52 PDT (History)
1 user (show)

See Also:


Attachments
Conditionally define __NSi_ for the current deployment target in WKFoundation.h (3.87 KB, patch)
2015-04-15 10:39 PDT, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2015-04-15 10:32:38 PDT
Sometimes CFAvailability.h doesn’t have a definition of __NSi_ matching what WK_{MAC,IOS}_TBA expands to.

<rdar://problem/20549298>
Comment 1 mitz 2015-04-15 10:39:50 PDT
Created attachment 250822 [details]
Conditionally define __NSi_ for the current deployment target in WKFoundation.h
Comment 2 Anders Carlsson 2015-04-15 10:43:11 PDT
Comment on attachment 250822 [details]
Conditionally define __NSi_ for the current deployment target in WKFoundation.h

View in context: https://bugs.webkit.org/attachment.cgi?id=250822&action=review

> Source/WebKit2/Shared/API/Cocoa/WKFoundation.h:45
> +// POSTPROCESSING_INSERTS_DEPLOYMENT_TARGET_AVAILABILITY_DEFINITION_HERE

Maybe add a DO_NOT_REMOVE so nobody will remove it?
Comment 3 mitz 2015-04-15 10:52:06 PDT
Fixed in <http://webkit.org/r182846>.