Commit 50b7b55c authored by Ryan C. Gordon's avatar Ryan C. Gordon

Patched to compile.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401236
parent 32832000
...@@ -58,9 +58,6 @@ static char rcsid = ...@@ -58,9 +58,6 @@ static char rcsid =
#error Need assembly opcodes for this architecture #error Need assembly opcodes for this architecture
#endif #endif
#if defined(__ELF__) && defined(__GNUC__)
extern unsigned char _copy_row[4096] __attribute__ ((alias ("copy_row")));
#endif
static unsigned char copy_row[4096]; static unsigned char copy_row[4096];
static int generate_rowbytes(int src_w, int dst_w, int bpp) 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, ...@@ -288,7 +285,7 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
__asm__ __volatile__ ( __asm__ __volatile__ (
"call *%4" "call *%4"
: "=&D" (u1), "=&S" (u2) : "=&D" (u1), "=&S" (u2)
: "0" (dstp), "1" (srcp), "r" (&_copy_row) : "0" (dstp), "1" (srcp), "r" (&copy_row)
: "memory" ); : "memory" );
#else #else
#ifdef WIN32 #ifdef WIN32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment