From 626e1b9faa81e6f744b8b101ab0cf94c5927d15a Mon Sep 17 00:00:00 2001 From: alkis Date: Mon, 30 Jan 2017 12:57:14 -0800 Subject: [PATCH] Use #ifdef __SSE2__ for the emmintrin.h include, otherwise snappy.cc does not compile with -march=prescott. --- snappy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappy.cc b/snappy.cc index 4bcea0b..956db1a 100644 --- a/snappy.cc +++ b/snappy.cc @@ -30,7 +30,7 @@ #include "snappy-internal.h" #include "snappy-sinksource.h" -#if defined(__x86_64__) || defined(_M_X64) +#ifdef __SSE2__ #include #endif #include