Skip to content

Commit

Permalink
add htole32/le32toh for Solaris
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed Aug 16, 2023
1 parent 3c49cfb commit 29159e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/compat/endian.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29159e3

Please sign in to comment.