Skip to content

Commit

Permalink
RedHat patch: SDL-1.2.14-byteorder.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 18, 2010
1 parent da223d4 commit e17ccd7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/SDL_endian.h
Expand Up @@ -39,6 +39,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__)) || \
Expand All @@ -48,6 +52,7 @@
#else
#define SDL_BYTEORDER SDL_LIL_ENDIAN
#endif
#endif /* __linux __ */
#endif /* !SDL_BYTEORDER */


Expand Down

0 comments on commit e17ccd7

Please sign in to comment.