RESOLVED FIXED 64377
[WinCairo] Standardize on PLATFORM(WIN_CAIRO) definitions
https://bugs.webkit.org/show_bug.cgi?id=64377
Summary [WinCairo] Standardize on PLATFORM(WIN_CAIRO) definitions
Brent Fulgham
Reported 2011-07-12 11:43:57 PDT
The current source tree conditionalizes various WinCairo features using "#ifdef WIN_CAIRO". This is inconsistent with all other ports, which properly define WTF_PLATFORM_xxx, and use the corresponding PLATFORM(xxx) to test for this state. This bug: 1. Changes WIN_CAIRO to WTF_PLATFORM_WIN_CAIRO 2. Changes instanced of "#ifdef WIN_CAIRO" or "#ifndef WIN_CAIRO" to "#if PLATFORM(WIN_CAIRO)" or "#if !PLATFORM(WIN_CAIRO)". It also removes a redundant definition of WIN_CAIRO in a project file, which should properly be controlled by the vsprops files.
Attachments
Patch (6.68 KB, patch)
2011-07-12 13:26 PDT, Brent Fulgham
no flags
Patch (10.00 KB, patch)
2011-07-12 14:00 PDT, Brent Fulgham
mjs: review+
Brent Fulgham
Comment 1 2011-07-12 13:26:06 PDT
Brent Fulgham
Comment 2 2011-07-12 14:00:10 PDT
Adam Roben (:aroben)
Comment 3 2011-07-12 14:02:35 PDT
Maciej, you should take a look at this.
Maciej Stachowiak
Comment 4 2011-07-12 20:12:04 PDT
Comment on attachment 100556 [details] Patch r=me
Brent Fulgham
Comment 5 2011-07-13 12:32:38 PDT
Note You need to log in before you can comment on or make changes to this bug.