src/video/cocoa/SDL_cocoavideo.m
changeset 7140 e1896b95a8a7
parent 6885 700f1b25f77f
child 7191 75360622e65f
equal deleted inserted replaced
7139:dd722e7460c5 7140:e1896b95a8a7
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 
    22 
    23 #if SDL_VIDEO_DRIVER_COCOA
    23 #if SDL_VIDEO_DRIVER_COCOA
    24 
    24 
    25 #if defined(__APPLE__) && defined(__POWERPC__)
    25 #if defined(__APPLE__) && defined(__POWERPC__) && !defined(__APPLE_ALTIVEC__)
    26 #include <altivec.h>
    26 #include <altivec.h>
    27 #undef bool
    27 #undef bool
    28 #undef vector
    28 #undef vector
    29 #undef pixel
    29 #undef pixel
    30 #endif
    30 #endif