1
0
mirror of https://github.com/fumiama/fumidb.git synced 2026-06-05 00:32:44 +08:00

Update binary.h

This commit is contained in:
源文雨
2024-04-03 16:47:26 +09:00
committed by GitHub
parent b410f26bf4
commit 12694e268e

View File

@@ -28,7 +28,7 @@
# define be16toh(x) ntohs(x)
# define be32toh(x) ntohl(x)
# define be64toh(x) ntohll(x)
# define htobe16(x) ntohs(x)
# define htobe16(x) htons(x)
# define htobe32(x) htonl(x)
# define htobe64(x) htonll(x)
#endif
@@ -114,4 +114,4 @@
# define likely(x) __builtin_expect(!!(x), 1)
# define unlikely(x) __builtin_expect(!!(x), 0)
#endif
#endif