Mercurial > sdl-ios-xcode
changeset 1198:b616ac4f39d1
Fixed gcc 4 warnings
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 08 Dec 2005 14:48:21 +0000 |
parents | bb5ace455586 |
children | 2d6dc7de1145 |
files | src/cpuinfo/SDL_cpuinfo.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpuinfo/SDL_cpuinfo.c Thu Dec 08 14:41:49 2005 +0000 +++ b/src/cpuinfo/SDL_cpuinfo.c Thu Dec 08 14:48:21 2005 +0000 @@ -49,7 +49,7 @@ #define CPU_HAS_SSE2 0x00000080 #define CPU_HAS_ALTIVEC 0x00000100 -#ifdef USE_SETJMP +#if defined(USE_SETJMP) && defined(GCC_ALTIVEC) /* This is the brute force way of detecting instruction sets... the idea is borrowed from the libmpeg2 library - thanks! */