src/video/SDL_stretch.c
changeset 1442 e3242177fe4a
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1849 b5a4ac87b98c
     1.1 --- a/src/video/SDL_stretch.c	Sun Feb 26 13:42:00 2006 +0000
     1.2 +++ b/src/video/SDL_stretch.c	Sun Feb 26 19:30:21 2006 +0000
     1.3 @@ -35,6 +35,7 @@
     1.4  */
     1.5  
     1.6  #if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \
     1.7 +     defined(__WATCOMC__) || \
     1.8       (defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
     1.9  #define USE_ASM_STRETCH
    1.10  #endif
    1.11 @@ -281,8 +282,7 @@
    1.12  			: "=&D" (u1), "=&S" (u2)
    1.13  			: "0" (dstp), "1" (srcp), "r" (copy_row)
    1.14  			: "memory" );
    1.15 -#else
    1.16 -#ifdef _MSC_VER
    1.17 +#elif defined(_MSC_VER) || defined(__WATCOMC__)
    1.18  		{ void *code = copy_row;
    1.19  			__asm {
    1.20  				push edi
    1.21 @@ -299,7 +299,6 @@
    1.22  #else
    1.23  #error Need inline assembly for this compiler
    1.24  #endif
    1.25 -#endif /* __GNUC__ */
    1.26  			break;
    1.27  		}
    1.28  #else