diff options
-rw-r--r-- | City.cpp | 2 | ||||
-rw-r--r-- | City.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -351,7 +351,7 @@ uint128 CityHash128(const char *s, size_t len) { } } -#ifdef __SSE4_2__ +#if defined(__SSE4_2__) && defined(__x86_64__) #include <nmmintrin.h> // Requires len >= 240. @@ -90,7 +90,7 @@ inline uint64 Hash128to64(const uint128& x) { // Conditionally include declarations for versions of City that require SSE4.2 // instructions to be available. -#ifdef __SSE4_2__ +#if defined(__SSE4_2__) && defined(__x86_64__) // Hash function for a byte array. uint128 CityHashCrc128(const char *s, size_t len); |