openwrt_archive/libs/libtwin/patches/100-compile_fix.patch
Felix Fietkau 305898d2fa fix libtwin compile on non-powerpc devices
SVN-Revision: 13717
2008-12-22 14:55:24 +00:00

12 lines
223 B
Diff

--- 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)