Mercurial > sdl-ios-xcode
changeset 1474:351d757c7edd
Maybe it's easier to collect the big-endian architectures. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Mar 2006 16:33:23 +0000 |
parents | 73777b138913 |
children | d45aefcac017 |
files | include/SDL_endian.h |
diffstat | 1 files changed, 7 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/include/SDL_endian.h Mon Mar 06 15:29:41 2006 +0000 +++ b/include/SDL_endian.h Mon Mar 06 16:33:23 2006 +0000 @@ -32,17 +32,14 @@ #define SDL_BIG_ENDIAN 4321 #ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */ -#if (defined(__i386__) || defined(__i386)) || \ - defined(_M_IX86) || \ - defined(__ia64__) || defined(__x86_64__) || \ - (defined(__alpha__) || defined(__alpha)) || \ - (defined(__arm__) || defined(__thumb__) || defined(_ARM_)) || \ - (defined(__sh__) || defined(__sh64__) || defined(_SH4_)) || \ - (defined(__mips__) && defined(__MIPSEL__)) || \ - defined(__SYMBIAN32__) || defined(__OS2__) +#if defined(__hppa__) || \ + defined(__m68k__) || defined(mc68000) || \ + (defined(__MIPS__) && defined(__MISPEB__)) || \ + defined(__ppc__) || defined(__POWERPC__) || \ + defined(__sparc__) +#define SDL_BYTEORDER SDL_BIG_ENDIAN +#else #define SDL_BYTEORDER SDL_LIL_ENDIAN -#else -#define SDL_BYTEORDER SDL_BIG_ENDIAN #endif #endif /* !SDL_BYTEORDER */