summaryrefslogtreecommitdiff
path: root/snappy-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'snappy-internal.h')
-rw-r--r--snappy-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/snappy-internal.h b/snappy-internal.h
index f88577c..ce1dfc3 100644
--- a/snappy-internal.h
+++ b/snappy-internal.h
@@ -96,7 +96,7 @@ char* CompressFragment(const char* input,
//
// Separate implementation for 64-bit, little-endian cpus.
#if !defined(SNAPPY_IS_BIG_ENDIAN) && \
- (defined(ARCH_K8) || defined(ARCH_PPC) || defined(ARCH_ARM))
+ (defined(__x86_64__) || defined(_M_X64) || defined(ARCH_PPC) || defined(ARCH_ARM))
static inline std::pair<size_t, bool> FindMatchLength(const char* s1,
const char* s2,
const char* s2_limit,