mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
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:
parent
7e9a5ca50a
commit
c0d5690ad0
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user