diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2025-07-15 21:12:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-15 14:36:05 -0700 |
commit | f1b85243034a690691d34af0576e6d3cb1a08743 (patch) | |
tree | cce9cc42fae1c7eee94772b987f26cb942ee3089 /commit-graph.h | |
parent | 1944e0717f34046ab7e2b9d3347d4df04adc52c9 (diff) |
bswap.h: add support for __BYTE_ORDER__
The __BYTE_ORDER__ define is provided by gcc (since ~v4.6), clang
(since ~v3.2) and icc (since ~16.0.3).
The __BYTE_ORDER and BYTE_ORDER macros are libc specific and are not
available on all supported platforms such as mingw.
Add support for the __BYTE_ORDER__ macro as a fallback.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions