[
https://issues.apache.org/jira/browse/HADOOP-11665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602842#comment-14602842
]
Alan Burlison commented on HADOOP-11665:
----------------------------------------
Rather than depending on compiler-specific macros a better approach might be to
use CMake's endian checks and pass in the appropriate -D flag as part of the
compiler invocation. See
http://www.cmake.org/cmake/help/v3.0/module/TestBigEndian.html
> Provide and unify cross platform byteorder support in native code
> -----------------------------------------------------------------
>
> Key: HADOOP-11665
> URL: https://issues.apache.org/jira/browse/HADOOP-11665
> Project: Hadoop Common
> Issue Type: Bug
> Components: native, util
> Affects Versions: 2.4.1, 2.6.0
> Environment: PowerPC Big Endian & other Big Endian platforms
> Reporter: Binglin Chang
> Assignee: Binglin Chang
> Labels: BB2015-05-TBR
> Attachments: HADOOP-11665.001.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)