comparison cpudetect.c @ 25338:dfba06821076

Ahem, fix breakage of last commit: The AltiVec detection code has three sections, namely OS X, AMIGAOS4 and the rest.
author diego
date Tue, 11 Dec 2007 22:29:22 +0000
parents ea7e788c4b7f
children f7421e2698c4
comparison
equal deleted inserted replaced
25337:6a7cf06be2e8 25338:dfba06821076
446 } 446 }
447 #else /* ARCH_X86 */ 447 #else /* ARCH_X86 */
448 448
449 #ifdef __APPLE__ 449 #ifdef __APPLE__
450 #include <sys/sysctl.h> 450 #include <sys/sysctl.h>
451 #elif __AMIGAOS4__
452 /* nothing */
453 #else
451 #include <signal.h> 454 #include <signal.h>
452 #include <setjmp.h> 455 #include <setjmp.h>
453 456
454 static sigjmp_buf jmpbuf; 457 static sigjmp_buf jmpbuf;
455 static volatile sig_atomic_t canjump = 0; 458 static volatile sig_atomic_t canjump = 0;