From 8ce4fc3c4da6b0dbb5b066a230d7574abf943138 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 --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401201 --- 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! */