# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181387045 -7200
# Node ID 4a9a847647faaf9aa42dd244d3005bd94b716993
# Parent  0f16f79d85ce6fb46bea1e8bac61c9f6f3dfd903
Use __i386__ and __x86_64__ instead of ARCH_X86 and ARCH_X86_64; the ARCH_* 
defines comes from FFmpeg, but they can easily stay there.

diff -r 4a9a847647faaf9aa42dd244d3005bd94b716993 -r 
0f16f79d85ce6fb46bea1e8bac61c9f6f3dfd903 src/xine-utils/cpu_accel.c
--- a/src/xine-utils/cpu_accel.c        Sat Jun 09 13:04:05 2007 +0200
+++ b/src/xine-utils/cpu_accel.c        Sat Jun 09 12:56:14 2007 +0200
@@ -41,7 +41,7 @@
 
 #include "xineutils.h"
 
-#if defined(ARCH_X86) || defined(ARCH_X86_64)
+#if defined(__i386__) || defined(__x86_64__)
 
 #ifndef __x86_64__
 #include <signal.h>
@@ -183,7 +183,7 @@ static uint32_t arch_accel (void)
   return caps;
 }
 
-#endif /* ARCH_X86 */
+#endif /* i386 or x86_64 */
 
 #if defined(ARCH_PPC) && defined(ENABLE_ALTIVEC)
 static sigjmp_buf jmpbuf;
@@ -340,7 +340,7 @@ uint32_t xine_mm_accel (void)
 #endif
 #endif
 
-#if defined(ARCH_X86) || defined(ARCH_X86_64) || (defined(ARCH_PPC) && 
defined(ENABLE_ALTIVEC)) || (defined(ARCH_SPARC) && defined(ENABLE_VIS))
+#if defined(__i386__) || defined(__x86_64__) || (defined(ARCH_PPC) && 
defined(ENABLE_ALTIVEC)) || (defined(ARCH_SPARC) && defined(ENABLE_VIS))
     accel |= arch_accel();
 #endif
 

-------------------------------------------------------------------------
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

Reply via email to