diff options
Diffstat (limited to 'Source/WTF/wtf/Platform.h')
-rw-r--r-- | Source/WTF/wtf/Platform.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h index f2aa1f628..9ae58ef48 100644 --- a/Source/WTF/wtf/Platform.h +++ b/Source/WTF/wtf/Platform.h @@ -162,12 +162,18 @@ || defined(_X86_) \ || defined(__THW_INTEL) #define WTF_CPU_X86 1 + +#if defined(__SSE2__) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2) +#define WTF_CPU_X86_SSE2 1 +#endif + #endif /* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */ #if defined(__x86_64__) \ || defined(_M_X64) #define WTF_CPU_X86_64 1 +#define WTF_CPU_X86_SSE2 1 #endif /* CPU(ARM64) - Apple */ @@ -595,6 +601,10 @@ #define USE_CFURLCACHE 1 #endif +#if PLATFORM(QT) && OS(DARWIN) +#define USE_CF 1 +#endif + #if !defined(HAVE_ACCESSIBILITY) #if PLATFORM(COCOA) || PLATFORM(WIN) || PLATFORM(GTK) || PLATFORM(EFL) #define HAVE_ACCESSIBILITY 1 |