changeset 1951:cc66bd97836f

Unbreak WMA on Altivec-capable linux machines. This might error out on OS X, in which case we might actually *need* the HAVE_ALTIVEC_H which was obliterated.
author Tony Vroon <chainsaw@gentoo.org>
date Mon, 01 Oct 2007 23:46:13 +0100
parents 2ebeb7816c5e
children 6faf2562e523
files src/wma/Makefile src/wma/libffwma/fft.c
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/wma/Makefile	Mon Oct 01 23:01:22 2007 +0100
+++ b/src/wma/Makefile	Mon Oct 01 23:46:13 2007 +0100
@@ -25,6 +25,6 @@
 include ../../buildsys.mk
 include ../../extra.mk
 
-CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} -I../.. -I./libffwma -std=c99 ${GCC42_CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+CPPFLAGS += ${PLUGIN_CPPFLAGS} ${MOWGLI_CFLAGS} ${DBUS_CFLAGS} ${GTK_CFLAGS} ${GLIB_CFLAGS} ${PANGO_CFLAGS} ${SIMD_CFLAGS} -I../.. -I./libffwma -std=c99 ${GCC42_CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
 CFLAGS += ${PLUGIN_CFLAGS}
 LIBS += ${GTK_LIBS} ${GLIB_LIBS} ${PANGO_LIBS}
--- a/src/wma/libffwma/fft.c	Mon Oct 01 23:01:22 2007 +0100
+++ b/src/wma/libffwma/fft.c	Mon Oct 01 23:46:13 2007 +0100
@@ -25,10 +25,7 @@
 #include "dsputil.h"
 
 #ifdef HAVE_ALTIVEC
-
-#ifdef HAVE_ALTIVEC_H
 #include <altivec.h>
-#endif
 
 #ifdef CONFIG_DARWIN
 #include <sys/sysctl.h>