diff src/video/SDL_blit_N.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 f033d9589ca1
line wrap: on
line diff
--- a/src/video/SDL_blit_N.c	Thu Nov 17 03:16:01 2005 +0000
+++ b/src/video/SDL_blit_N.c	Thu Nov 17 03:43:42 2005 +0000
@@ -36,7 +36,9 @@
 /* Functions to blit from N-bit surfaces to other surfaces */
 
 #ifdef USE_ALTIVEC_BLITTERS
+#ifdef HAVE_ALTIVEC_H
 #include <altivec.h>
+#endif
 #include <assert.h>
 #include <stdlib.h>
 #ifdef MACOSX