Select patches included from The NetBSD Package Collection (www.pkgsrc.org)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401027
This commit is contained in:
Sam Lantinga 2005-01-12 06:04:48 +00:00
parent 21ddee0a10
commit c73a9384e1
4 changed files with 5 additions and 3 deletions

View file

@ -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__))