aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts/opts_check_SSE2.cpp
diff options
context:
space:
mode:
authorGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-11-20 18:55:44 +0000
committerGravatar senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-11-20 18:55:44 +0000
commit0c547bca505a57cf9428a7ff6d8501a11f4ea827 (patch)
treeefcb152d238b4368668f6aaa288374cfede5fb47 /src/opts/opts_check_SSE2.cpp
parent9a62fa705280ed1a5ab2cc9a05208e9c72c1d5f9 (diff)
Build fix for WIN64 (unreviewed).
git-svn-id: http://skia.googlecode.com/svn/trunk@439 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/opts/opts_check_SSE2.cpp')
-rw-r--r--src/opts/opts_check_SSE2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opts/opts_check_SSE2.cpp b/src/opts/opts_check_SSE2.cpp
index 4757ed859e..bd4807a9e4 100644
--- a/src/opts/opts_check_SSE2.cpp
+++ b/src/opts/opts_check_SSE2.cpp
@@ -24,7 +24,7 @@
instruction on Pentium3 on the code below). Only files named *_SSE2.cpp
in this directory should be compiled with -msse2. */
-#ifdef __x86_64__
+#if defined(__x86_64__) || defined(_WIN64)
/* All x86_64 machines have SSE2, so don't even bother checking. */
static inline bool hasSSE2() {
return true;