Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 06 Jan 2006 00:56:12 +0000
changeset 1233 228c94f0b5dc
parent 1232 0aa0000081d5
child 1234 73676c1f56ee
Patched to compile.
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" (&copy_row)
 			: "memory" );
 #else
 #ifdef WIN32