Bug 137524 - [Win] Resolve warnings about missing __has_include macro under MSVC
Summary: [Win] Resolve warnings about missing __has_include macro under MSVC
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-08 10:07 PDT by Brent Fulgham
Modified: 2014-10-08 10:56 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.02 KB, patch)
2014-10-08 10:08 PDT, Brent Fulgham
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2014-10-08 10:07:00 PDT
MSVC does not provide support for he __has_include annotation. This causes hundreds of build warnings in each project that uses the SimpleFontData.h header file.

This patch provides a dummy __has_include that silences this warning without changing the build behavior under MSVC.
Comment 1 Brent Fulgham 2014-10-08 10:08:21 PDT
Created attachment 239479 [details]
Patch
Comment 2 Brent Fulgham 2014-10-08 10:56:52 PDT
Committed r174462: <http://trac.webkit.org/changeset/174462>