include: Add extra checks for endian on devkitPPC

This commit is contained in:
Ash Logan
2019-01-03 13:41:40 +11:00
committed by Dave Murphy
parent ee84d17124
commit dbfe3c16a0

View File

@@ -50,7 +50,7 @@
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
(defined(__MIPS__) && defined(__MIPSEB__)) || \
defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \
defined(__sparc__)
defined(__sparc__) || defined(_BIG_ENDIAN) || (__BIG_ENDIAN__ == 1)
#define SDL_BYTEORDER SDL_BIG_ENDIAN
#else
#define SDL_BYTEORDER SDL_LIL_ENDIAN