1 --- SDL-1.1.7/include/SDL_byteorder.h.foo Mon May 7 14:27:33 2001
2 +++ SDL-1.1.7/include/SDL_byteorder.h Mon May 7 14:29:22 2001
4 #define SDL_LIL_ENDIAN 1234
5 #define SDL_BIG_ENDIAN 4321
10 +#define SDL_BYTEORDER __BYTE_ORDER
13 /* Pardon the mess, I'm trying to determine the endianness of this host.
14 I'm doing it by preprocessor defines rather than some sort of configure
15 script so that application code can use this too. The "right" way would
18 #define SDL_BYTEORDER SDL_BIG_ENDIAN
21 +#endif /* __linux __ */
23 #endif /* _SDL_byteorder_h */