Fixed Altivec support on Mac OS X.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401178
This commit is contained in:
Ryan C. Gordon 2005-11-17 03:43:42 +00:00
parent ac4bc6a495
commit 3e4fa6b4d9
3 changed files with 56 additions and 24 deletions

View file

@ -422,7 +422,9 @@ static void BlitRGBtoRGBPixelAlphaMMX(SDL_BlitInfo *info)
#endif
#ifdef USE_ALTIVEC_BLITTERS
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
#include <assert.h>
#if ((defined MACOSX) && (__GNUC__ < 4))