Mercurial > mplayer.hg
diff liba52/resample_altivec.c @ 25328:6f0309e575e0
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.
author | diego |
---|---|
date | Tue, 11 Dec 2007 20:16:00 +0000 |
parents | 9e6f7a23b4b1 |
children | b393dffbbcc7 |
line wrap: on
line diff
--- a/liba52/resample_altivec.c Tue Dec 11 20:07:18 2007 +0000 +++ b/liba52/resample_altivec.c Tue Dec 11 20:16:00 2007 +0000 @@ -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