mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
There is a check for altivec.h in configure so use the preprocessor directive
set by configure instead of an OS-specific directive when #including altivec.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25356 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
17981e0ab6
commit
24af96f8cc
@ -367,7 +367,7 @@ void imdct_do_512 (sample_t * data, sample_t * delay, sample_t bias)
|
||||
|
||||
#ifdef HAVE_ALTIVEC
|
||||
|
||||
#ifndef SYS_DARWIN
|
||||
#ifdef HAVE_ALTIVEC_H
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
||||
|
@ -1548,7 +1548,7 @@
|
||||
|
||||
+#ifdef HAVE_ALTIVEC
|
||||
+
|
||||
+#ifndef SYS_DARWIN
|
||||
+#ifdef HAVE_ALTIVEC_H
|
||||
+#include <altivec.h>
|
||||
+#endif
|
||||
+
|
||||
|
@ -1,7 +1,7 @@
|
||||
// this code is based on a52dec/libao/audio_out_oss.c
|
||||
// AltiVec support Copyright (c) 2004 Romain Dolbeau <romain@dolbeau.org>
|
||||
|
||||
#ifndef SYS_DARWIN
|
||||
#ifdef HAVE_ALTIVEC_H
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#include "mpg123.h"
|
||||
|
||||
#ifndef SYS_DARWIN
|
||||
#ifdef HAVE_ALTIVEC_H
|
||||
#include <altivec.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user