Patched to compile.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401236
This commit is contained in:
Ryan C. Gordon 2006-01-06 00:56:12 +00:00
parent 3283200097
commit 50b7b55c2c

View file

@ -58,9 +58,6 @@ static char rcsid =
#error Need assembly opcodes for this architecture
#endif
#if defined(__ELF__) && defined(__GNUC__)
extern unsigned char _copy_row[4096] __attribute__ ((alias ("copy_row")));
#endif
static unsigned char copy_row[4096];
static int generate_rowbytes(int src_w, int dst_w, int bpp)
@ -288,7 +285,7 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
__asm__ __volatile__ (
"call *%4"
: "=&D" (u1), "=&S" (u2)
: "0" (dstp), "1" (srcp), "r" (&_copy_row)
: "0" (dstp), "1" (srcp), "r" (&copy_row)
: "memory" );
#else
#ifdef WIN32