WINSCW is a cross-compilation environment running on Windows. For this environment WIN32, OS(WIN) and PLATFORM(WIN) should not be defined. Currently some of this logic is in WebCore/config.h and some in JavaScriptCore/wtf/Platform.h. It make sense to consolidate this logic into Platform.h as this is related to global environment setup for WINSCW. For example after r56623 WIN32 is _not_ defined when compiling WebCore with WINSCW but it is defined when compiling JavaScriptCore. This can lead to hard-to-find build issues.
Created attachment 52547 [details] proposed patch
Created attachment 52548 [details] 2nd try, remove extra whitespace
Comment on attachment 52548 [details] 2nd try, remove extra whitespace Clearing flags on attachment: 52548 Committed r57108: <http://trac.webkit.org/changeset/57108>
All reviewed patches have been landed. Closing bug.
<cherry-pick-for-backport: r57076>
Revision r57076 cherry-picked into qtwebkit-2.0 with commit ac69c2f69372089990b04b3425da1d2eb2697ae0 Revision r57108 cherry-picked into qtwebkit-2.0 with commit 5bfb5ac38f9981f950c7116001844d3f7b681d67