summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-08-25 17:27:50 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-08-25 17:27:50 (GMT)
commitef7cbfd76275ed4cce8d2df3c2e658228e89da2e (patch)
treea8407b3a32b92e69d3563455553604dbd3339862 /lz4.c
parent769984407afdb853a552406fdfd9796c75768cc8 (diff)
downloadlz4-ef7cbfd76275ed4cce8d2df3c2e658228e89da2e.zip
lz4-ef7cbfd76275ed4cce8d2df3c2e658228e89da2e.tar.gz
lz4-ef7cbfd76275ed4cce8d2df3c2e658228e89da2e.tar.bz2
Added : mips 64 bits detection macro, as suggested by lew van
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lz4.c b/lz4.c
index b7be5b8..435f1ea 100644
--- a/lz4.c
+++ b/lz4.c
@@ -46,7 +46,8 @@
CPU Feature Detection
**************************************/
/* 32 or 64 bits ? */
-#if (defined(__64BIT__) || defined(__x86_64__) || defined(_M_X64) || defined(_WIN64) \
+#if (defined(__x86_64__) || defined(_M_X64) || defined(_WIN64) \
+ || defined(__64BIT__) || defined(__mips64) \
|| defined(__powerpc64__) || defined(__powerpc64le__) \
|| defined(__ppc64__) || defined(__ppc64le__) \
|| defined(__PPC64__) || defined(__PPC64LE__) \