Skip to content

Commit

Permalink
Patched to compile.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 6, 2006
1 parent eba11d6 commit c49b59d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/video/SDL_stretch.c
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c49b59d

Please sign in to comment.