Needed to bump the version again in order to get rid of the %preun.
[fedora-mingw.git] / SDL / SDL-1.2.10-byteorder.patch
1 --- SDL-1.2.10/include/SDL_endian.h.byteorder   2006-05-01 10:02:59.000000000 +0200
2 +++ SDL-1.2.10/include/SDL_endian.h     2006-05-19 11:53:07.000000000 +0200
3 @@ -32,6 +32,10 @@
4  #define SDL_BIG_ENDIAN 4321
5  
6  #ifndef SDL_BYTEORDER  /* Not defined in SDL_config.h? */
7 +#ifdef __linux__
8 +#include <endian.h>
9 +#define SDL_BYTEORDER  __BYTE_ORDER
10 +#else /* __linux __ */
11  #if defined(__hppa__) || \
12      defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
13      (defined(__MIPS__) && defined(__MISPEB__)) || \
14 @@ -41,6 +45,7 @@
15  #else
16  #define SDL_BYTEORDER  SDL_LIL_ENDIAN
17  #endif
18 +#endif /* __linux __ */
19  #endif /* !SDL_BYTEORDER */
20  
21