# HG changeset patch # User Sam Lantinga # Date 1141662803 0 # Node ID 351d757c7edda5927e4ec2fa3dca7bffe140e1d3 # Parent 73777b138913f481f65b8db97b95294f0c585f50 Maybe it's easier to collect the big-endian architectures. :) diff -r 73777b138913 -r 351d757c7edd include/SDL_endian.h --- 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 */