projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac1ee0
)
Fix : 64-bits macro detection for AIX system (thanks to SamG)
author
Yann Collet
<yann.collet.73@gmail.com>
Thu, 21 Aug 2014 16:08:22 +0000
(17:08 +0100)
committer
Yann Collet
<yann.collet.73@gmail.com>
Thu, 21 Aug 2014 16:08:22 +0000
(17:08 +0100)
lz4.c
patch
|
blob
|
history
diff --git
a/lz4.c
b/lz4.c
index
518521b
..
b7be5b8
100644
(file)
--- 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__) \