Maybe it's easier to collect the big-endian architectures. :)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401478
This commit is contained in:
parent
97d70fea63
commit
c27132b50d
1 changed files with 7 additions and 10 deletions
|
@ -32,17 +32,14 @@
|
||||||
#define SDL_BIG_ENDIAN 4321
|
#define SDL_BIG_ENDIAN 4321
|
||||||
|
|
||||||
#ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */
|
#ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */
|
||||||
#if (defined(__i386__) || defined(__i386)) || \
|
#if defined(__hppa__) || \
|
||||||
defined(_M_IX86) || \
|
defined(__m68k__) || defined(mc68000) || \
|
||||||
defined(__ia64__) || defined(__x86_64__) || \
|
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
||||||
(defined(__alpha__) || defined(__alpha)) || \
|
defined(__ppc__) || defined(__POWERPC__) || \
|
||||||
(defined(__arm__) || defined(__thumb__) || defined(_ARM_)) || \
|
defined(__sparc__)
|
||||||
(defined(__sh__) || defined(__sh64__) || defined(_SH4_)) || \
|
|
||||||
(defined(__mips__) && defined(__MIPSEL__)) || \
|
|
||||||
defined(__SYMBIAN32__) || defined(__OS2__)
|
|
||||||
#define SDL_BYTEORDER SDL_LIL_ENDIAN
|
|
||||||
#else
|
|
||||||
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
#define SDL_BYTEORDER SDL_BIG_ENDIAN
|
||||||
|
#else
|
||||||
|
#define SDL_BYTEORDER SDL_LIL_ENDIAN
|
||||||
#endif
|
#endif
|
||||||
#endif /* !SDL_BYTEORDER */
|
#endif /* !SDL_BYTEORDER */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue