1
0
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:
diego 2007-12-11 20:16:00 +00:00
parent 17981e0ab6
commit 24af96f8cc
4 changed files with 4 additions and 4 deletions

View File

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

View File

@ -1548,7 +1548,7 @@
+#ifdef HAVE_ALTIVEC
+
+#ifndef SYS_DARWIN
+#ifdef HAVE_ALTIVEC_H
+#include <altivec.h>
+#endif
+

View File

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

View File

@ -11,7 +11,7 @@
#include "mpg123.h"
#ifndef SYS_DARWIN
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif