fixed endian detection issue in powerpc

This commit is contained in:
skywind3000 2015-01-19 01:57:47 +08:00
parent 5acf312b3b
commit 4d9eb2785b

3
ikcp.h
View File

@ -238,7 +238,8 @@ typedef struct IQUEUEHEAD iqueue_head;
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
(defined(__MIPS__) && defined(__MISPEB__)) || \
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
defined(__sparc__)
defined(__sparc__) || defined(__powerpc__) || \
defined(__mc68000__) || defined(__s390x__) || defined(__s390__)
#define IWORDS_BIG_ENDIAN 1
#endif
#endif