fix libtwin compile on non-powerpc devices

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13717 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-12-22 14:55:24 +00:00
parent 843c6d8dda
commit 55feb1e92e

View File

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