From 29159e34e39e0ac337526560f954d3b1d39cb32b Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 16 Aug 2023 05:20:48 -0500 Subject: add htole32/le32toh for Solaris --- include/compat/endian.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/compat/endian.h b/include/compat/endian.h index 0945ece..3d55994 100644 --- a/include/compat/endian.h +++ b/include/compat/endian.h @@ -132,8 +132,10 @@ #define be16toh(x) BE_IN16(x) #define betoh16(x) BE_IN16(x) #define htobe16(x) BE_16(x) +#define le32toh(x) LE_IN32(x) #define be32toh(x) BE_IN32(x) #define betoh32(x) BE_IN32(x) +#define htole32(x) LE_32(x) #define htobe32(x) BE_32(x) #define be64toh(x) BE_IN64(x) #define betoh64(x) BE_IN64(x) -- cgit v1.2.3-55-g6feb