Bug 25727
| Summary: | IDL parsing should use ENABLE() macro | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, laszlo.gombos, sam |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
David Kilzer (:ddkilzer)
* SUMMARY
Instead of this:
#if defined(ENABLE_FOO) && ENABLE_FOO
IDL files should use this:
#if ENABLE(FOO)
In order to do this, we need to copy the ENABLE() macro definition from JavaScriptCore/wtf/Platform.h so that it may be used when preprocessing IDL files.
* NOTES
See Bug 25087 Comment #10.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |