hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wan...@apache.org
Subject [39/50] [abbrv] hadoop git commit: HADOOP-12926. lz4.c does not detect 64-bit mode properly. Contributed by Alan Burlison.
Date Mon, 21 Mar 2016 20:14:52 GMT
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/YARN-3368
Commit: 33239c99257dac08f7644be3701770daa75044cd
Parents: fbe3e86
Author: Chris Nauroth <cnauroth@apache.org>
Authored: Fri Mar 18 16:33:01 2016 -0700
Committer: Chris Nauroth <cnauroth@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


Mime
View raw message