HADOOP-12926. lz4.c does not detect 64-bit mode properly. Contributed by Alan Burlison.

This commit is contained in:
Chris Nauroth 2016-03-18 16:33:01 -07:00
parent fbe3e86970
commit 33239c9925
1 changed files with 1 additions and 1 deletions

View File

@ -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