I'm looking to start submitting changes to support the Windows CE platform; I picked this as a first change so that I can see the patch review process through; hopefully without affecting anything.
The following definition in config.h forces OS(WINCE) into a set of policies on building that cannot be overriden easily to be different to the windows build.
#define WTF_PLATFORM_CAIRO 1
#define WTF_USE_CURL 1
#define _WINSOCKAPI_ // Prevent inclusion of winsock.h in windows.h
#define WTF_PLATFORM_CG 1
#define WTF_USE_CFNETWORK 1
#define WTF_PLATFORM_CF 1
#define WTF_USE_PTHREADS 0
I would like to change this to
#if PLATFORM(WIN) && !OS(WINCE)
so that WINCE can set the policies in wtf/platform.h (or have them overriden from the default); especially items like using WININET and WTF_PLATFORM_CF which are not available on windows CE. I am using a build that is windows CE for CAIRO+WININET+PTHREADS and these hardcoded values for the policies for PLATFORM(WIN) don't allow options for the build configuration.
I have a patch for this change available.
Created attachment 52693 [details]
Comment on attachment 52693 [details]
r- for lack of ChangeLog, see http://webkit.org/coding/contributing.html
*** This bug has been marked as a duplicate of bug 49887 ***