From 1c3f54b90cb836851618c8ec551206f57db6ecc1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 8 Dec 2005 14:48:21 +0000 Subject: [PATCH] Fixed gcc 4 warnings --- src/cpuinfo/SDL_cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index cbb87371b..c0a00c708 100644 --- a/src/cpuinfo/SDL_cpuinfo.c +++ b/src/cpuinfo/SDL_cpuinfo.c @@ -49,7 +49,7 @@ static char rcsid = #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! */