Fix Mac OS X PowerPC builds, I think.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 30 Oct 2012 22:44:01 -0400
changeset 6624ad4892cb5be9
parent 6623 f4ae87f3ec15
child 6625 647ae2aa5674
Fix Mac OS X PowerPC builds, I think.
src/video/cocoa/SDL_cocoamessagebox.m
     1.1 --- a/src/video/cocoa/SDL_cocoamessagebox.m	Tue Oct 30 19:26:30 2012 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoamessagebox.m	Tue Oct 30 22:44:01 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_messagebox.h"
    1.14  #include "SDL_cocoavideo.h"
    1.15