fix libtwin compile on non-powerpc devices
authorFelix Fietkau <nbd@openwrt.org>
Mon, 22 Dec 2008 14:55:24 +0000 (14:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Dec 2008 14:55:24 +0000 (14:55 +0000)
SVN-Revision: 13717

libs/libtwin/patches/100-compile_fix.patch [new file with mode: 0644]

diff --git a/libs/libtwin/patches/100-compile_fix.patch b/libs/libtwin/patches/100-compile_fix.patch
new file mode 100644 (file)
index 0000000..dd9f9f8
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/libtwin/twin_feature.c
++++ b/libtwin/twin_feature.c
+@@ -55,7 +55,7 @@
+ }
+ #else
+-#define _twin_have_altivec()
++#define _twin_have_altivec() 0
+ #endif /* HAVE_ALTIVEC */
+ int twin_has_feature(unsigned int feature)