diff src/video/SDL_stretch.c @ 1233:228c94f0b5dc

Patched to compile.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 06 Jan 2006 00:56:12 +0000
parents f4a3a4129d04
children 73676c1f56ee
line wrap: on
line diff
--- 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