Use #ifdef __SSE2__ for the emmintrin.h include, otherwise snappy.cc does not compile with -march=prescott.

This commit is contained in:
alkis
2017-01-30 12:57:14 -08:00
committed by Victor Costan
parent 2d99bd14d4
commit 626e1b9faa

View File

@@ -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>