diff options
author | Dennis Ameling <dennis@dennisameling.com> | 2025-04-23 08:01:43 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-23 08:53:04 -0700 |
commit | 6547d1c9cbafaa5f3e650ccdedd8809e88987011 (patch) | |
tree | 749bd53f93ed2b16feca26614640b399250c8dc0 /git-count-objects-script | |
parent | 683c54c999c301c2cd6f715c411407c413b1d84e (diff) |
bswap.h: add support for built-in bswap functions
Newer compiler versions, like GCC 10 and Clang 12, have built-in
functions for bswap32 and bswap64. This comes in handy, for example,
when targeting CLANGARM64 on Windows, which would not be supported
without this logic.
Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-count-objects-script')
0 files changed, 0 insertions, 0 deletions