comparison src/cpuinfo/SDL_cpuinfo.c @ 1198:b616ac4f39d1

Fixed gcc 4 warnings
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Dec 2005 14:48:21 +0000
parents 51a8702d8ecd
children 1430f5fe092a
comparison
equal deleted inserted replaced
1197:bb5ace455586 1198:b616ac4f39d1
47 #define CPU_HAS_3DNOWEXT 0x00000020 47 #define CPU_HAS_3DNOWEXT 0x00000020
48 #define CPU_HAS_SSE 0x00000040 48 #define CPU_HAS_SSE 0x00000040
49 #define CPU_HAS_SSE2 0x00000080 49 #define CPU_HAS_SSE2 0x00000080
50 #define CPU_HAS_ALTIVEC 0x00000100 50 #define CPU_HAS_ALTIVEC 0x00000100
51 51
52 #ifdef USE_SETJMP 52 #if defined(USE_SETJMP) && defined(GCC_ALTIVEC)
53 /* This is the brute force way of detecting instruction sets... 53 /* This is the brute force way of detecting instruction sets...
54 the idea is borrowed from the libmpeg2 library - thanks! 54 the idea is borrowed from the libmpeg2 library - thanks!
55 */ 55 */
56 static jmp_buf jmpbuf; 56 static jmp_buf jmpbuf;
57 static void illegal_instruction(int sig) 57 static void illegal_instruction(int sig)