Currently a lot of things within Platform.h and the individual config.h files could be defined in CMake rather than in config.h files. This should hopefully be less error prone than what the config.h files do. Ports should use SET_AND_EXPOSE_TO_BUILD whenever possible.
Created attachment 334296 [details] Patch Moves a bunch of things to CMake. _WINSOCKAPI_ is defined on WinCairo since it uses Curl.
Created attachment 334306 [details] Patch
Created attachment 334307 [details] Patch
Created attachment 334308 [details] Patch
Created attachment 334319 [details] Patch
Created attachment 334320 [details] Patch
LGTM, if there are no special reasons for AppleWin to prefer Platform.h
(In reply to Konstantin Tokarev from comment #7) > LGTM, if there are no special reasons for AppleWin to prefer Platform.h From an AppleWin standpoint, I also believe this looks good. Alex, Brent, what do you say?
Comment on attachment 334320 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=334320&action=review > Source/cmake/OptionsAppleWin.cmake:-11 > -set(USE_ICU_UNICODE 1) Is this not needed anymore?
(In reply to Per Arne Vollan from comment #9) > > -set(USE_ICU_UNICODE 1) > > Is this not needed anymore? It was removed from code in r162782
Comment on attachment 334320 [details] Patch R=me.
Comment on attachment 334320 [details] Patch Clearing flags on attachment: 334320 Committed r228891: <https://trac.webkit.org/changeset/228891>
All reviewed patches have been landed. Closing bug.
<rdar://problem/37755787>