diff options
Diffstat (limited to 'Source/WTF/config.h')
-rw-r--r-- | Source/WTF/config.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Source/WTF/config.h b/Source/WTF/config.h index 847632877..dbdef9b4a 100644 --- a/Source/WTF/config.h +++ b/Source/WTF/config.h @@ -19,12 +19,8 @@ * */ -#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H -#ifdef BUILDING_WITH_CMAKE +#if defined(HAVE_CONFIG_H) && HAVE_CONFIG_H && defined(BUILDING_WITH_CMAKE) #include "cmakeconfig.h" -#else -#include "autotoolsconfig.h" -#endif #endif #include <wtf/Platform.h> @@ -33,14 +29,14 @@ #if OS(WINDOWS) #ifndef _WIN32_WINNT -#define _WIN32_WINNT 0x0502 +#define _WIN32_WINNT 0x601 #endif #ifndef WINVER -#define WINVER 0x0502 +#define WINVER 0x0601 #endif -#if !COMPILER(MSVC7_OR_LOWER) && !OS(WINCE) +#if !COMPILER(MSVC7_OR_LOWER) // We need to define this before the first #include of stdlib.h or it won't contain rand_s. #ifndef _CRT_RAND_S #define _CRT_RAND_S @@ -49,8 +45,6 @@ #endif -#define WTF_CHANGES 1 - #ifdef __cplusplus #undef new #undef delete |