summaryrefslogtreecommitdiffstats
path: root/liba52/resample_altivec.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-11 20:16:00 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-11 20:16:00 +0000
commit24af96f8cc436fd84cd89dcc715961dacb6ad368 (patch)
tree13698971c8fca418c8b3e4405cd35911f8a705a4 /liba52/resample_altivec.c
parent17981e0ab6d90f19352615f47f352df7992a6f1c (diff)
downloadmpv-24af96f8cc436fd84cd89dcc715961dacb6ad368.tar.bz2
mpv-24af96f8cc436fd84cd89dcc715961dacb6ad368.tar.xz
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
Diffstat (limited to 'liba52/resample_altivec.c')
-rw-r--r--liba52/resample_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liba52/resample_altivec.c b/liba52/resample_altivec.c
index 9e32cf61ed..3cf633d16c 100644
--- a/liba52/resample_altivec.c
+++ b/liba52/resample_altivec.c
@@ -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