src/video/SDL_blit_N.c
changeset 1175 867f521591e5
parent 1162 2651158f59b8
child 1224 f033d9589ca1
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 )