Mercurial > sdl-ios-xcode
diff src/video/SDL_blit_N.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 |
line wrap: on
line diff
--- a/src/video/SDL_blit_N.c Tue Feb 21 08:34:45 2006 +0000 +++ b/src/video/SDL_blit_N.c Tue Feb 21 08:46:50 2006 +0000 @@ -19,6 +19,7 @@ Sam Lantinga slouken@libsdl.org */ +#include "SDL_config.h" #include "SDL_video.h" #include "SDL_endian.h" @@ -32,7 +33,7 @@ #include <altivec.h> #endif #define assert(X) -#ifdef MACOSX +#ifdef __MACOSX__ #include <sys/sysctl.h> static size_t GetL3CacheSize( void ) { @@ -52,9 +53,9 @@ /* XXX: Just guess G4 */ return 2097152; } -#endif /* MACOSX */ +#endif /* __MACOSX__ */ -#if ((defined MACOSX) && (__GNUC__ < 4)) +#if (defined(__MACOSX__) && (__GNUC__ < 4)) #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p ) #define VECUINT16_LITERAL(a,b,c,d,e,f,g,h) \