comparison src/video/SDL_RLEaccel.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 5f52867ba65c
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 /* 24 /*
24 * RLE encoding for software colorkey and alpha-channel acceleration 25 * RLE encoding for software colorkey and alpha-channel acceleration
25 * 26 *
26 * Original version by Sam Lantinga 27 * Original version by Sam Lantinga
88 #include "SDL_video.h" 89 #include "SDL_video.h"
89 #include "SDL_sysvideo.h" 90 #include "SDL_sysvideo.h"
90 #include "SDL_blit.h" 91 #include "SDL_blit.h"
91 #include "SDL_RLEaccel_c.h" 92 #include "SDL_RLEaccel_c.h"
92 93
93 #if (i386 || __x86_64__) && __GNUC__ && SDL_ASSEMBLY_BLITTERS 94 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
94 #define MMX_ASMBLIT 95 #define MMX_ASMBLIT
95 #endif 96 #endif
96 97
97 #ifdef MMX_ASMBLIT 98 #ifdef MMX_ASMBLIT
98 #include "mmx.h" 99 #include "mmx.h"