fixed yet another endian issue (I used the wrong define for it)

This commit is contained in:
TLINDEN
2013-11-19 21:02:59 +01:00
parent 8b3b76d52d
commit 04dbf19381
8 changed files with 26 additions and 14 deletions

View File

@@ -38,7 +38,7 @@
# define htobe64 hto64be
# endif
# else // no sys/endian.h
# ifdef __BIG_ENDIAN
# ifdef __CPU_IS_BIG_ENDIAN
# define be32toh(x) (x)
# define htobe32(x) (x)
# define be64toh(x) (x)