Patched to compile on PowerPC Mac OS X.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 11 Jul 2012 20:20:04 -0400
changeset 6356 5d4f55bdd0e1
parent 6355 3ef4d0e923cb
child 6357 c246c953d0bd
Patched to compile on PowerPC Mac OS X.
src/video/cocoa/SDL_cocoavideo.m
--- a/src/video/cocoa/SDL_cocoavideo.m	Wed Jul 11 08:51:16 2012 -0400
+++ b/src/video/cocoa/SDL_cocoavideo.m	Wed Jul 11 20:20:04 2012 -0400
@@ -22,6 +22,12 @@
 
 #if SDL_VIDEO_DRIVER_COCOA
 
+#if defined(__APPLE__) && defined(__POWERPC__)
+#include <altivec.h>
+#undef bool
+#undef vector
+#endif
+
 #include "SDL.h"
 #include "SDL_endian.h"
 #include "SDL_cocoavideo.h"