blob: f5f1d9cb381a31ddcc5404b78bb641f979c7eadb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- lib/cpp/src/thrift/protocol/TProtocol.h.orig 2025-08-24 09:28:32 UTC
+++ lib/cpp/src/thrift/protocol/TProtocol.h
@@ -146,7 +146,7 @@ static inline To bitwise_cast(From from) {
# define THRIFT_ntohll(n) (n)
# define THRIFT_htonll(n) (n)
# endif
-# if defined(__GNUC__) && defined(__GLIBC__)
+# if defined(__GNUC__)
# include <byteswap.h>
# define THRIFT_htolell(n) bswap_64(n)
# define THRIFT_letohll(n) bswap_64(n)
|