Patched to compile on PowerPC Mac OS X.
authorRyan C. Gordon
Wed, 11 Jul 2012 20:20:04 -0400
changeset 63565d4f55bdd0e1
parent 6355 3ef4d0e923cb
child 6357 c246c953d0bd
Patched to compile on PowerPC Mac OS X.
src/video/cocoa/SDL_cocoavideo.m
     1.1 --- a/src/video/cocoa/SDL_cocoavideo.m	Wed Jul 11 08:51:16 2012 -0400
     1.2 +++ b/src/video/cocoa/SDL_cocoavideo.m	Wed Jul 11 20:20:04 2012 -0400
     1.3 @@ -22,6 +22,12 @@
     1.4  
     1.5  #if SDL_VIDEO_DRIVER_COCOA
     1.6  
     1.7 +#if defined(__APPLE__) && defined(__POWERPC__)
     1.8 +#include <altivec.h>
     1.9 +#undef bool
    1.10 +#undef vector
    1.11 +#endif
    1.12 +
    1.13  #include "SDL.h"
    1.14  #include "SDL_endian.h"
    1.15  #include "SDL_cocoavideo.h"