1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-11 23:00:24 +08:00

fix: data mismatch on stream decode with BOM

This commit is contained in:
源文雨
2023-05-18 14:14:48 +08:00
parent ed54eb6f44
commit 567274a1e7
4 changed files with 20 additions and 18 deletions

View File

@@ -34,7 +34,7 @@
# define be32toh(x) betoh32(x)
# define be64toh(x) betoh64(x)
#endif
#ifdef __MAC_10_0
#ifdef __APPLE__
# define be16toh(x) ntohs(x)
# define be32toh(x) ntohl(x)
# define be64toh(x) ntohll(x)