mirror of
https://github.com/skywind3000/kcp.git
synced 2025-01-13 20:10:12 +08:00
fixed endian detection issue in powerpc
This commit is contained in:
parent
5acf312b3b
commit
4d9eb2785b
3
ikcp.h
3
ikcp.h
@ -238,7 +238,8 @@ typedef struct IQUEUEHEAD iqueue_head;
|
|||||||
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
||||||
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
||||||
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
|
||||||
defined(__sparc__)
|
defined(__sparc__) || defined(__powerpc__) || \
|
||||||
|
defined(__mc68000__) || defined(__s390x__) || defined(__s390__)
|
||||||
#define IWORDS_BIG_ENDIAN 1
|
#define IWORDS_BIG_ENDIAN 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user