include/SDL_endian.h
changeset 3630 efb79807afe1
parent 3407 d3baf5ac4e37
child 3697 f7b03b6838cb
     1.1 --- a/include/SDL_endian.h	Sun Jan 10 08:15:25 2010 +0000
     1.2 +++ b/include/SDL_endian.h	Sun Jan 10 08:21:19 2010 +0000
     1.3 @@ -92,7 +92,7 @@
     1.4    __asm__("rlwimi %0,%2,8,16,23": "=&r"(result):"0"(x >> 8), "r"(x));
     1.5      return result;
     1.6  }
     1.7 -#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__))
     1.8 +#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
     1.9  static __inline__ Uint16
    1.10  SDL_Swap16(Uint16 x)
    1.11  {
    1.12 @@ -132,7 +132,7 @@
    1.13    __asm__("rlwimi %0,%2,24,0,7": "=&r"(result):"0"(result), "r"(x));
    1.14      return result;
    1.15  }
    1.16 -#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__))
    1.17 +#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__)
    1.18  static __inline__ Uint32
    1.19  SDL_Swap32(Uint32 x)
    1.20  {