From 14d1a63dc30aa4590c30b24b824b4cc76e869183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 9 Jun 2007 12:22:54 +0200 Subject: Define sigill_return and sigill_handler only on x86, as there is where they only are used. --- src/xine-utils/cpu_accel.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xine-utils/cpu_accel.c b/src/xine-utils/cpu_accel.c index b32733fba..ddada94d3 100644 --- a/src/xine-utils/cpu_accel.c +++ b/src/xine-utils/cpu_accel.c @@ -24,8 +24,6 @@ #include #include #include -#include -#include #include #if defined (__SVR4) && defined (__sun) @@ -42,11 +40,16 @@ #if defined(ARCH_X86) || defined(ARCH_X86_64) +#ifndef __x86_64__ +#include +#include + static jmp_buf sigill_return; static void sigill_handler (int n) { longjmp(sigill_return, 1); } +#endif static uint32_t arch_accel (void) { -- cgit v1.2.3