mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
The fix is going back in. :)
This commit is contained in:
@@ -68,7 +68,7 @@ static __inline__ Uint16 SDL_Swap16(Uint16 x)
|
||||
#elif defined(__GNUC__) && defined(__x86_64__)
|
||||
static __inline__ Uint16 SDL_Swap16(Uint16 x)
|
||||
{
|
||||
__asm__("xchgb %b0,%h0" : "=q" (x) : "0" (x));
|
||||
__asm__("xchgb %b0,%h0" : "=Q" (x) : "0" (x));
|
||||
return x;
|
||||
}
|
||||
#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
|
||||
|
||||
Reference in New Issue
Block a user