# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181384574 -7200
# Node ID 3eeb7ab5b0e2fdc0d68bf7521eba80e115e0ea66
# Parent ab9cf365e250793ca2fbbc6bd5aeb9d706d00d49
Define sigill_return and sigill_handler only on x86, as there is where they
only are used.
diff -r 3eeb7ab5b0e2fdc0d68bf7521eba80e115e0ea66 -r
ab9cf365e250793ca2fbbc6bd5aeb9d706d00d49 src/xine-utils/cpu_accel.c
--- a/src/xine-utils/cpu_accel.c Sat Jun 09 12:22:54 2007 +0200
+++ b/src/xine-utils/cpu_accel.c Sat Jun 09 12:05:19 2007 +0200
@@ -24,8 +24,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
-#include <signal.h>
-#include <setjmp.h>
#include <dlfcn.h>
#if defined (__SVR4) && defined (__sun)
@@ -42,11 +40,16 @@
#if defined(ARCH_X86) || defined(ARCH_X86_64)
+#ifndef __x86_64__
+#include <signal.h>
+#include <setjmp.h>
+
static jmp_buf sigill_return;
static void sigill_handler (int n) {
longjmp(sigill_return, 1);
}
+#endif
static uint32_t arch_accel (void)
{
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog