Fix Windows tests after switch to CMake.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Sep 2015 23:03:23 +0000 (23:03 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Sep 2015 23:03:23 +0000 (23:03 +0000)
* testing/js/WebCoreTestSupportPrefix.h:
Include cmakeconfig.h before wtf/Platform.h like we do in all the other precompiled headers
to have consistent features defined.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@189991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/testing/js/WebCoreTestSupportPrefix.h

index 352f43b..80bcf40 100644 (file)
@@ -1,3 +1,11 @@
+2015-09-18  Alex Christensen  <achristensen@webkit.org>
+
+        Fix Windows tests after switch to CMake.
+
+        * testing/js/WebCoreTestSupportPrefix.h:
+        Include cmakeconfig.h before wtf/Platform.h like we do in all the other precompiled headers
+        to have consistent features defined.
+
 2015-09-18  Alexey Proskuryakov  <ap@apple.com>
 
         REGRESSION (r189526): Nightlies don't work on Mavericks
index db378e4..c5ff92d 100644 (file)
 
 /* Things that need to be defined globally should go into "config.h". */
 
+#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H && defined(BUILDING_WITH_CMAKE)
+#include "cmakeconfig.h"
+#endif
+
 #include <wtf/Platform.h>
 
 #if defined(__APPLE__)