src/video/SDL_stretch.c
changeset 1361 19418e4422cb
parent 1358 c71e05b4dc2e
child 1402 d910939febfa
     1.1 --- a/src/video/SDL_stretch.c	Fri Feb 10 07:29:08 2006 +0000
     1.2 +++ b/src/video/SDL_stretch.c	Thu Feb 16 10:11:48 2006 +0000
     1.3 @@ -33,15 +33,14 @@
     1.4     into the general blitting mechanism.
     1.5  */
     1.6  
     1.7 -#if (defined(WIN32) && !defined(_M_ALPHA) && !defined(_WIN32_WCE) && \
     1.8 -     !defined(__WATCOMC__) && !defined(__LCC__) && !defined(__FREEBCC__)) || \
     1.9 -    (defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT))
    1.10 +#if ((defined(_MFC_VER) && defined(_M_IX86)/* && !defined(_WIN32_WCE) still needed? */) || \
    1.11 +     (defined(i386) && defined(__GNUC__))) && SDL_ASSEMBLY_BLITTERS
    1.12  #define USE_ASM_STRETCH
    1.13  #endif
    1.14  
    1.15  #ifdef USE_ASM_STRETCH
    1.16  
    1.17 -#if defined(WIN32) || defined(i386)
    1.18 +#if defined(_M_IX86) || defined(i386)
    1.19  #define PREFIX16	0x66
    1.20  #define STORE_BYTE	0xAA
    1.21  #define STORE_WORD	0xAB
    1.22 @@ -282,7 +281,7 @@
    1.23  			: "0" (dstp), "1" (srcp), "r" (copy_row)
    1.24  			: "memory" );
    1.25  #else
    1.26 -#ifdef WIN32
    1.27 +#ifdef _MSC_VER
    1.28  		{ void *code = copy_row;
    1.29  			__asm {
    1.30  				push edi