]> git.sesse.net Git - vlc/commitdiff
* modules/video_chroma/i420_yuy2.c: only include <altivec.h> when building
authorSam Hocevar <sam@videolan.org>
Tue, 23 Aug 2005 18:23:20 +0000 (18:23 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 23 Aug 2005 18:23:20 +0000 (18:23 +0000)
    the AltiVec version of this module.

modules/video_chroma/i420_yuy2.c

index 8f572aad3602e3fdaff67136363d42a60f16aff9..94c6fce9f97a77867ad28ae34cf84aad31170282 100644 (file)
@@ -30,7 +30,7 @@
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 
-#ifdef HAVE_ALTIVEC_H
+#if defined (MODULE_NAME_IS_i420_yuy2_altivec) && defined(HAVE_ALTIVEC_H)
 #   include <altivec.h>
 #endif