From eac3611755a85cd9c975be857872c08281a3ac62 Mon Sep 17 00:00:00 2001 From: DmitriyMusatkin Date: Tue, 12 Nov 2024 14:28:08 -0800 Subject: [PATCH] add comment --- include/aws/checksums/private/crc_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/aws/checksums/private/crc_util.h b/include/aws/checksums/private/crc_util.h index 84395a1..cb9aff9 100644 --- a/include/aws/checksums/private/crc_util.h +++ b/include/aws/checksums/private/crc_util.h @@ -50,6 +50,7 @@ static inline uint64_t aws_bswap64_if_be(uint64_t x) { #if _MSC_VER return _byteswap_uint64(x); #elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) + /* Note: gcc supports it starting with 4.2. here its just picking the lowest version we run test on. */ return __builtin_bswap64(x); #elif defined(__clang__) && __clang_major__ >= 3 return __builtin_bswap64(x);