src/video/SDL_blit_N.c
changeset 1402 d910939febfa
parent 1361 19418e4422cb
child 1428 5f52867ba65c
     1.1 --- a/src/video/SDL_blit_N.c	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/src/video/SDL_blit_N.c	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -19,6 +19,7 @@
     1.4      Sam Lantinga
     1.5      slouken@libsdl.org
     1.6  */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  #include "SDL_video.h"
    1.10  #include "SDL_endian.h"
    1.11 @@ -32,7 +33,7 @@
    1.12  #include <altivec.h>
    1.13  #endif
    1.14  #define assert(X)
    1.15 -#ifdef MACOSX
    1.16 +#ifdef __MACOSX__
    1.17  #include <sys/sysctl.h>
    1.18  static size_t GetL3CacheSize( void )
    1.19  {
    1.20 @@ -52,9 +53,9 @@
    1.21      /* XXX: Just guess G4 */
    1.22      return 2097152;
    1.23  }
    1.24 -#endif /* MACOSX */
    1.25 +#endif /* __MACOSX__ */
    1.26  
    1.27 -#if ((defined MACOSX) && (__GNUC__ < 4))
    1.28 +#if (defined(__MACOSX__) && (__GNUC__ < 4))
    1.29      #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \
    1.30          (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p )
    1.31      #define VECUINT16_LITERAL(a,b,c,d,e,f,g,h) \