# HG changeset patch # User Ryan C. Gordon # Date 1136508972 0 # Node ID 228c94f0b5dcb9d0a1096db4bde2c9860dae3238 # Parent 0aa0000081d583f15578332e32e8cd708cdac48b Patched to compile. diff -r 0aa0000081d5 -r 228c94f0b5dc src/video/SDL_stretch.c --- a/src/video/SDL_stretch.c Thu Jan 05 16:40:51 2006 +0000 +++ b/src/video/SDL_stretch.c Fri Jan 06 00:56:12 2006 +0000 @@ -58,9 +58,6 @@ #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 @@ __asm__ __volatile__ ( "call *%4" : "=&D" (u1), "=&S" (u2) - : "0" (dstp), "1" (srcp), "r" (&_copy_row) + : "0" (dstp), "1" (srcp), "r" (©_row) : "memory" ); #else #ifdef WIN32