src/video/SDL_stretch.c
changeset 11478 3a5aa02aee80
parent 10945 1300a3135d61
child 11811 5d94cb6b24d3
     1.1 --- a/src/video/SDL_stretch.c	Sat Sep 09 08:03:23 2017 -0700
     1.2 +++ b/src/video/SDL_stretch.c	Sat Sep 09 08:20:56 2017 -0700
     1.3 @@ -33,8 +33,8 @@
     1.4     into the general blitting mechanism.
     1.5  */
     1.6  
     1.7 -#if ((defined(_MFC_VER) && defined(_M_IX86)) || \
     1.8 -     defined(__WATCOMC__) || \
     1.9 +#if ((defined(_MSC_VER) && defined(_M_IX86))    || \
    1.10 +     (defined(__WATCOMC__) && defined(__386__)) || \
    1.11       (defined(__GNUC__) && defined(__i386__))) && SDL_ASSEMBLY_ROUTINES
    1.12  /* There's a bug with gcc 4.4.1 and -O2 where srcp doesn't get the correct
    1.13   * value after the first scanline.  FIXME? */
    1.14 @@ -53,7 +53,7 @@
    1.15  #define PAGE_ALIGNED
    1.16  #endif
    1.17  
    1.18 -#if defined(_M_IX86) || defined(i386)
    1.19 +#if defined(_M_IX86) || defined(__i386__) || defined(__386__)
    1.20  #define PREFIX16    0x66
    1.21  #define STORE_BYTE  0xAA
    1.22  #define STORE_WORD  0xAB