aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/preprocessor
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-12-13 17:49:28 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-12-14 00:40:52 +0100
commit21308e0ad0ded24f4c0bb5e6b4becfb4fc84a918 (patch)
treea8a42dd8cd96403e516ddc124e03721d582091c1 /validation/preprocessor
parentd66213e883fdbb1d3c9738def00a1debc6e3e2b9 (diff)
downloadsparse-dev-21308e0ad0ded24f4c0bb5e6b4becfb4fc84a918.tar.gz
test endianness with __BYTE_ORDER__
The detection of the native endianness is currently done by testing if __BIG_ENDIAN__ is defined. However, not all native big endian platforms define this macro. Test the endianness with __BYTE_ORDER__. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/preprocessor')
0 files changed, 0 insertions, 0 deletions