HADOOP-12926. lz4.c does not detect 64-bit mode properly. Contributed by Alan Burlison.
This commit is contained in:
parent
fbe3e86970
commit
33239c9925
|
@ -52,7 +52,7 @@
|
||||||
|| defined(__ppc64__) || defined(__ppc64le__) \
|
|| defined(__ppc64__) || defined(__ppc64le__) \
|
||||||
|| defined(__PPC64__) || defined(__PPC64LE__) \
|
|| defined(__PPC64__) || defined(__PPC64LE__) \
|
||||||
|| defined(__ia64) || defined(__itanium__) || defined(_M_IA64) \
|
|| defined(__ia64) || defined(__itanium__) || defined(_M_IA64) \
|
||||||
|| defined(__s390x__) ) /* Detects 64 bits mode */
|
|| defined(__s390x__) || defined(_LP64)) /* Detects 64 bits mode */
|
||||||
# define LZ4_ARCH64 1
|
# define LZ4_ARCH64 1
|
||||||
#else
|
#else
|
||||||
# define LZ4_ARCH64 0
|
# define LZ4_ARCH64 0
|
||||||
|
|
Loading…
Reference in New Issue