author | Sam Lantinga <slouken@libsdl.org> |
Mon, 02 Dec 2002 02:40:58 +0000 | |
changeset 553 | 417f8709e648 |
parent 552 | 639d58d32471 |
child 554 | 38b1a98aeb11 |
--- a/src/video/SDL_blit.h Mon Dec 02 02:35:58 2002 +0000 +++ b/src/video/SDL_blit.h Mon Dec 02 02:40:58 2002 +0000 @@ -375,7 +375,11 @@ } while(0) /* This is a very useful loop for optimizing blitters */ +#if defined(_MSC_VER) && (_MSC_VER == 1300) +/* There's a bug in the Visual C++ 7 optimizer when compiling this code */ +#else #define USE_DUFFS_LOOP +#endif #ifdef USE_DUFFS_LOOP /* 8-times unrolled loop */