Skip to content
Permalink
Browse files
Updated OS/2 build, yay!
  • Loading branch information
slouken committed Feb 26, 2006
1 parent ed6d681 commit 3c6650d5b4d439da70ba68259fc119bbef10f881

File 29 of 32 in 3c6650d

@@ -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

0 comments on commit 3c6650d

Please sign in to comment.