diff src/video/SDL_blit_A.c @ 1175:867f521591e5

Fixed Altivec support on Mac OS X.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 17 Nov 2005 03:43:42 +0000
parents 2651158f59b8
children 3b8a43c428bb
line wrap: on
line diff
--- a/src/video/SDL_blit_A.c	Thu Nov 17 03:16:01 2005 +0000
+++ b/src/video/SDL_blit_A.c	Thu Nov 17 03:43:42 2005 +0000
@@ -422,7 +422,9 @@
 #endif
 
 #ifdef USE_ALTIVEC_BLITTERS
+#ifdef HAVE_ALTIVEC_H
 #include <altivec.h>
+#endif
 #include <assert.h>
 
 #if ((defined MACOSX) && (__GNUC__ < 4))