Summary: | Add checking whether the compiler allows to use #pragma directive. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Krzysztof Wolanski <k.wolanski> | ||||
Component: | ANGLE | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achicu, commit-queue, dino, kling | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Krzysztof Wolanski
2013-04-17 06:46:20 PDT
Created attachment 198504 [details]
proposed patch
Comment on attachment 198504 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=198504&action=review > Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp:7 > +#if defined(_MSC_VER) This should be #if COMPILER(MSVC) Otherwise, it looks fine. (In reply to comment #2) > (From update of attachment 198504 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=198504&action=review > > > Source/ThirdParty/ANGLE/src/compiler/depgraph/DependencyGraph.cpp:7 > > +#if defined(_MSC_VER) > > This should be #if COMPILER(MSVC) > Otherwise, it looks fine. Actually, since this is in ANGLE.. I guess we don't have config.h / wtf/Platform.h included. Comment on attachment 198504 [details]
proposed patch
Okay, I got that wrong. Checking MSC_VER directly is fine in ANGLE.
r=me!
Comment on attachment 198504 [details] proposed patch Clearing flags on attachment: 198504 Committed r148669: <http://trac.webkit.org/changeset/148669> All reviewed patches have been landed. Closing bug. |