diff options
author | alkis <alkis@google.com> | 2017-01-30 12:57:14 -0800 |
---|---|---|
committer | Victor Costan <pwnall@chromium.org> | 2017-03-07 18:09:49 -0800 |
commit | 626e1b9faa81e6f744b8b101ab0cf94c5927d15a (patch) | |
tree | 086c18147ab32bcfa6280a2c073483696a95f360 /snappy.cc | |
parent | 2d99bd14d471664758e4dfdf81b44f413a7353fd (diff) | |
download | snappy-626e1b9faa81e6f744b8b101ab0cf94c5927d15a.tar.gz snappy-626e1b9faa81e6f744b8b101ab0cf94c5927d15a.tar.bz2 snappy-626e1b9faa81e6f744b8b101ab0cf94c5927d15a.zip |
Use #ifdef __SSE2__ for the emmintrin.h include, otherwise snappy.cc does not compile with -march=prescott.
Diffstat (limited to 'snappy.cc')
-rw-r--r-- | snappy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ #include "snappy-internal.h" #include "snappy-sinksource.h" -#if defined(__x86_64__) || defined(_M_X64) +#ifdef __SSE2__ #include <emmintrin.h> #endif #include <stdio.h> |