Fix compilation on PPC without AltiVec.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26627 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-05-01 12:45:59 +00:00
parent 7e9a5ca50a
commit c0d5690ad0
2 changed files with 2 additions and 3 deletions

View File

@ -47,7 +47,7 @@ static void state_restore_mmx (cpu_state_t * state)
}
#endif
#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC)
#ifdef ARCH_PPC
#if defined(__APPLE_CC__) /* apple */
#define LI(a,b) "li r" #a "," #b "\n\t"
#define STVX0(a,b,c) "stvx v" #a ",0,r" #c "\n\t"

View File

@ -95,8 +95,7 @@
@@ -48,18 +48,18 @@
#endif
-#ifdef ARCH_PPC
+#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC)
#ifdef ARCH_PPC
-#ifdef HAVE_ALTIVEC_H /* gnu */
-#define LI(a,b) "li " #a "," #b "\n\t"
-#define STVX0(a,b,c) "stvx " #a ",0," #c "\n\t"