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

(cherry picked from commit 33239c9925)
This commit is contained in:
Chris Nauroth 2016-03-18 16:33:01 -07:00
parent dd1e4107e5
commit 283e44f978
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
|| defined(__ppc64__) || defined(__ppc64le__) \
|| defined(__PPC64__) || defined(__PPC64LE__) \
|| 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
#else
# define LZ4_ARCH64 0