termux-packages/packages/tree/tree.c.patch

13 lines
463 B
Diff

diff -u -r ../tree-1.7.0/tree.c ./tree.c
--- ../tree-1.7.0/tree.c 2014-04-23 17:38:24.000000000 -0400
+++ ./tree.c 2016-03-23 10:54:14.212468421 -0400
@@ -112,7 +112,7 @@
}
/* Until I get rid of this hack, make it linux/cygwin/HP nonstop only: */
-#if defined (LINUX) || defined (CYGWIN) || defined (__TANDEM)
+#if defined (LINUX) || defined (CYGWIN) || defined (__TANDEM) || defined (__ANDROID__)
mb_cur_max = (int)MB_CUR_MAX;
#else
mb_cur_max = 1;