avs_mtk_voice/meta/meta-openembedded/meta-oe/recipes-extended/tcsh/files/fix-gcc6-wait-union.patch

12 lines
476 B
Diff

--- tcsh-6.18.01/sh.proc.c.orig 2016-06-08 16:11:02.902326725 +0000
+++ tcsh-6.18.01/sh.proc.c 2016-06-08 16:38:22.150304901 +0000
@@ -48,7 +48,7 @@
#endif /* aiws */
#if defined(_BSD) || (defined(IRIS4D) && __STDC__) || defined(__lucid) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
-# if !defined(__ANDROID__)
+# if !defined(__ANDROID__) && !defined(__GLIBC__)
# define BSDWAIT
# endif
#endif /* _BSD || (IRIS4D && __STDC__) || __lucid || glibc */