comparison include/SDL_byteorder.h @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children 71bf2ad74dfa
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
40 be to dynamically generate this file on install, but that's a lot of work. 40 be to dynamically generate this file on install, but that's a lot of work.
41 */ 41 */
42 #if defined(__i386__) || defined(WIN32) || \ 42 #if defined(__i386__) || defined(WIN32) || \
43 (defined(__alpha__) || defined(__alpha)) || \ 43 (defined(__alpha__) || defined(__alpha)) || \
44 defined(__arm__) || \ 44 defined(__arm__) || \
45 (defined(__mips__) && defined(__MIPSEL__)) 45 (defined(__mips__) && defined(__MIPSEL__)) || \
46 defined(__LITTLE_ENDIAN__)
46 #define SDL_BYTEORDER SDL_LIL_ENDIAN 47 #define SDL_BYTEORDER SDL_LIL_ENDIAN
47 #else 48 #else
48 #define SDL_BYTEORDER SDL_BIG_ENDIAN 49 #define SDL_BYTEORDER SDL_BIG_ENDIAN
49 #endif 50 #endif
50 51