src/cpuinfo/SDL_cpuinfo.c
changeset 795 275708f2e838
parent 793 c20f08c4f437
child 796 dec19b813b04
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 29 16:14:09 2004 +0000
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 29 16:15:12 2004 +0000
     1.3 @@ -236,7 +236,7 @@
     1.4  	int error = sysctl(selectors, 2, &hasVectorUnit, &length, NULL, 0); 
     1.5  	if( 0 == error )
     1.6  		altivec = (hasVectorUnit != 0); 
     1.7 -#elseif defined(USE_SETJMP) && defined(__GNUC__) && defined(__powerpc__)
     1.8 +#elif defined(USE_SETJMP) && defined(GCC_ALTIVEC)
     1.9  	void (*handler)(int sig);
    1.10  	handler = signal(SIGILL, illegal_instruction);
    1.11  	if ( setjmp(jmpbuf) == 0 ) {