comparison src/video/SDL_blit_A.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 #include "SDL_video.h" 24 #include "SDL_video.h"
24 #include "SDL_blit.h" 25 #include "SDL_blit.h"
25 26
26 #if (defined(i386) || defined(__x86_64__)) && __GNUC__ && SDL_ASSEMBLY_BLITTERS 27 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
27 #define MMX_ASMBLIT 1 28 #define MMX_ASMBLIT 1
28 #endif 29 #endif
29 30
30 /* Function to check the CPU flags */ 31 /* Function to check the CPU flags */
31 #include "SDL_cpuinfo.h" 32 #include "SDL_cpuinfo.h"
417 #if HAVE_ALTIVEC_H 418 #if HAVE_ALTIVEC_H
418 #include <altivec.h> 419 #include <altivec.h>
419 #endif 420 #endif
420 #include <assert.h> 421 #include <assert.h>
421 422
422 #if ((defined MACOSX) && (__GNUC__ < 4)) 423 #if (defined(__MACOSX__) && (__GNUC__ < 4))
423 #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ 424 #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \
424 (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p ) 425 (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p )
425 #define VECUINT16_LITERAL(a,b,c,d,e,f,g,h) \ 426 #define VECUINT16_LITERAL(a,b,c,d,e,f,g,h) \
426 (vector unsigned short) ( a,b,c,d,e,f,g,h ) 427 (vector unsigned short) ( a,b,c,d,e,f,g,h )
427 #else 428 #else