Updated OS/2 build, yay!
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401446
This commit is contained in:
parent
e1f2aca17a
commit
46f459a736
32 changed files with 727 additions and 675 deletions
|
@ -35,6 +35,7 @@
|
|||
*/
|
||||
|
||||
#if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \
|
||||
defined(__WATCOMC__) || \
|
||||
(defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
|
||||
#define USE_ASM_STRETCH
|
||||
#endif
|
||||
|
@ -281,8 +282,7 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
|
|||
: "=&D" (u1), "=&S" (u2)
|
||||
: "0" (dstp), "1" (srcp), "r" (copy_row)
|
||||
: "memory" );
|
||||
#else
|
||||
#ifdef _MSC_VER
|
||||
#elif defined(_MSC_VER) || defined(__WATCOMC__)
|
||||
{ void *code = copy_row;
|
||||
__asm {
|
||||
push edi
|
||||
|
@ -299,7 +299,6 @@ int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
|
|||
#else
|
||||
#error Need inline assembly for this compiler
|
||||
#endif
|
||||
#endif /* __GNUC__ */
|
||||
break;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue