Repository: hadoop Updated Branches: refs/heads/branch-2 dd1e4107e -> 283e44f97 refs/heads/trunk fbe3e8697 -> 33239c992
HADOOP-12926. lz4.c does not detect 64-bit mode properly. Contributed by Alan Burlison. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/33239c99 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/33239c99 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/33239c99 Branch: refs/heads/trunk Commit: 33239c99257dac08f7644be3701770daa75044cd Parents: fbe3e86 Author: Chris Nauroth <cnaur...@apache.org> Authored: Fri Mar 18 16:33:01 2016 -0700 Committer: Chris Nauroth <cnaur...@apache.org> Committed: Fri Mar 18 16:33:01 2016 -0700 ---------------------------------------------------------------------- .../src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/33239c99/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c ---------------------------------------------------------------------- diff --git a/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c b/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c index 39f176f..5c51afe 100644 --- a/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c +++ b/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/io/compress/lz4/lz4.c @@ -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