summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-08-21 16:08:22 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-08-21 16:08:22 (GMT)
commit93f74935e21b7204fa08c987aded99860d0cabd8 (patch)
treef2c0ff123dab1c9ef22dd58bb4eddfdc57b38dc3 /lz4.c
parent2ac1ee0a45e7cef01aefbf28106a03a44bd43f82 (diff)
downloadlz4-93f74935e21b7204fa08c987aded99860d0cabd8.zip
lz4-93f74935e21b7204fa08c987aded99860d0cabd8.tar.gz
lz4-93f74935e21b7204fa08c987aded99860d0cabd8.tar.bz2
Fix : 64-bits macro detection for AIX system (thanks to SamG)
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lz4.c b/lz4.c
index 518521b..b7be5b8 100644
--- a/lz4.c
+++ b/lz4.c
@@ -46,7 +46,7 @@
CPU Feature Detection
**************************************/
/* 32 or 64 bits ? */
-#if (defined(__x86_64__) || defined(_M_X64) || defined(_WIN64) \
+#if (defined(__64BIT__) || defined(__x86_64__) || defined(_M_X64) || defined(_WIN64) \
|| defined(__powerpc64__) || defined(__powerpc64le__) \
|| defined(__ppc64__) || defined(__ppc64le__) \
|| defined(__PPC64__) || defined(__PPC64LE__) \