comparison 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
comparison
equal deleted inserted replaced
1174:8c43aceeed81 1175:867f521591e5
34 #include "SDL_cpuinfo.h" 34 #include "SDL_cpuinfo.h"
35 35
36 /* Functions to blit from N-bit surfaces to other surfaces */ 36 /* Functions to blit from N-bit surfaces to other surfaces */
37 37
38 #ifdef USE_ALTIVEC_BLITTERS 38 #ifdef USE_ALTIVEC_BLITTERS
39 #ifdef HAVE_ALTIVEC_H
39 #include <altivec.h> 40 #include <altivec.h>
41 #endif
40 #include <assert.h> 42 #include <assert.h>
41 #include <stdlib.h> 43 #include <stdlib.h>
42 #ifdef MACOSX 44 #ifdef MACOSX
43 #include <sys/sysctl.h> 45 #include <sys/sysctl.h>
44 static size_t GetL3CacheSize( void ) 46 static size_t GetL3CacheSize( void )