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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user