The #define for WIN32_LEAN_AND_MEAN and _CRT_RAND_S should check for existing definitions because it could be defined project wide and conflict (or just be a duplicate #define). This is causing a problem for my build because I define these project wide.
Created attachment 18743 [details] add #ifndef guards
Comment on attachment 18743 [details] add #ifndef guards Seems harmless. r=me
Created attachment 18865 [details] extra include in webcore This is the only other change needed before being able to compile WebCore with WIN32_LEAN_AND_MEAN.
Comment on attachment 18743 [details] add #ifndef guards landed this first patch as r29941
Comment on attachment 18865 [details] extra include in webcore This also seems harmless. It's currently included by: platform/win/DragDataWin.cpp:#include <objidl.h> platform/win/WCDataObject.h:#include <objidl.h> Perhaps it should be moved to WebCorePrefix.h at some point.
Landed second patch as r29942.