aboutsummaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2014-10-26 13:34:26 -0400
committerJunio C Hamano <gitster@pobox.com>2014-10-27 11:51:12 -0700
commitbfb0e6fcd2826a869383b766712131a07a8059b0 (patch)
tree9bba2bf131e39a07b174e487eb290266eb09fc93 /git-compat-util.h
parent48a031af3cc555e0eb9d30b96f2e0943de7c44ae (diff)
downloadgit-bfb0e6fcd2826a869383b766712131a07a8059b0.tar.gz
git-bfb0e6fcd2826a869383b766712131a07a8059b0.tar.xz
compat/bswap.h: detect endianness from XL C compiler macros
There is no /usr/include/endian.h equivalent on z/OS, but the compiler will define macros to indicate endianness on host and target hardware. This adds a test for these macros as a last resort for determining byte order. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions