RedHat patch: SDL-1.2.14-byteorder.patch
This commit is contained in:
parent
5ae90a3bef
commit
21760bc6b2
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,10 @@
|
|||
/*@}*/
|
||||
|
||||
#ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#define SDL_BYTEORDER __BYTE_ORDER
|
||||
#else /* __linux __ */
|
||||
#if defined(__hppa__) || \
|
||||
defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
|
||||
(defined(__MIPS__) && defined(__MISPEB__)) || \
|
||||
|
@ -49,6 +53,7 @@
|
|||
#else
|
||||
#define SDL_BYTEORDER SDL_LIL_ENDIAN
|
||||
#endif
|
||||
#endif /* __linux __ */
|
||||
#endif /* !SDL_BYTEORDER */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue