From ad018c71d1c856845da992e2d325c7b20ad10309 Mon Sep 17 00:00:00 2001 From: "achristensen@apple.com" Date: Fri, 18 Sep 2015 23:03:23 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@189991 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebCore/ChangeLog | 8 ++++++++ Source/WebCore/testing/js/WebCoreTestSupportPrefix.h | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 352f43b..80bcf40 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,11 @@ +2015-09-18 Alex Christensen + + 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 REGRESSION (r189526): Nightlies don't work on Mavericks diff --git a/Source/WebCore/testing/js/WebCoreTestSupportPrefix.h b/Source/WebCore/testing/js/WebCoreTestSupportPrefix.h index db378e4..c5ff92d 100644 --- a/Source/WebCore/testing/js/WebCoreTestSupportPrefix.h +++ b/Source/WebCore/testing/js/WebCoreTestSupportPrefix.h @@ -27,6 +27,10 @@ /* 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 #if defined(__APPLE__) -- 1.8.3.1