|
|
@ -173,7 +173,9 @@ static inline int fsync (int fd) |
|
|
|
# if __BYTE_ORDER == __LITTLE_ENDIAN |
|
|
|
# if __BYTE_ORDER == __LITTLE_ENDIAN |
|
|
|
# define htole16(x) (x) |
|
|
|
# define htole16(x) (x) |
|
|
|
# define htole32(x) (x) |
|
|
|
# define htole32(x) (x) |
|
|
|
|
|
|
|
# define htole64(x) (x) |
|
|
|
# define le32toh(x) (x) |
|
|
|
# define le32toh(x) (x) |
|
|
|
|
|
|
|
# define le64toh(x) (x) |
|
|
|
# define be32toh(x) bswap_32(x) |
|
|
|
# define be32toh(x) bswap_32(x) |
|
|
|
# define be64toh(x) bswap_64(x) |
|
|
|
# define be64toh(x) bswap_64(x) |
|
|
|
# define htobe32(x) bswap_32(x) |
|
|
|
# define htobe32(x) bswap_32(x) |
|
|
@ -182,6 +184,8 @@ static inline int fsync (int fd) |
|
|
|
# define htole16(x) bswap_16(x) |
|
|
|
# define htole16(x) bswap_16(x) |
|
|
|
# define htole32(x) bswap_32(x) |
|
|
|
# define htole32(x) bswap_32(x) |
|
|
|
# define le32toh(x) bswap_32(x) |
|
|
|
# define le32toh(x) bswap_32(x) |
|
|
|
|
|
|
|
# define le64toh(x) bswap_64(x) |
|
|
|
|
|
|
|
# define htole64(x) bswap_64(x) |
|
|
|
# define be32toh(x) (x) |
|
|
|
# define be32toh(x) (x) |
|
|
|
# define be64toh(x) (x) |
|
|
|
# define be64toh(x) (x) |
|
|
|
# define htobe32(x) (x) |
|
|
|
# define htobe32(x) (x) |
|
|
|