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