Fixed gcc 4 warnings
authorSam Lantinga <slouken@libsdl.org>
Thu, 08 Dec 2005 14:48:21 +0000
changeset 1198b616ac4f39d1
parent 1197 bb5ace455586
child 1199 2d6dc7de1145
Fixed gcc 4 warnings
src/cpuinfo/SDL_cpuinfo.c
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Thu Dec 08 14:41:49 2005 +0000
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Dec 08 14:48:21 2005 +0000
     1.3 @@ -49,7 +49,7 @@
     1.4  #define CPU_HAS_SSE2	0x00000080
     1.5  #define CPU_HAS_ALTIVEC	0x00000100
     1.6  
     1.7 -#ifdef USE_SETJMP
     1.8 +#if defined(USE_SETJMP) && defined(GCC_ALTIVEC)
     1.9  /* This is the brute force way of detecting instruction sets...
    1.10     the idea is borrowed from the libmpeg2 library - thanks!
    1.11   */