| 1 | diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/stdio.h ./usr/include/stdio.h |
| 2 | --- /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/include/stdio.h 2014-10-14 22:53:49.000000000 -0400 |
| 3 | +++ ./usr/include/stdio.h 2014-12-14 15:11:46.007242332 -0500 |
| 4 | @@ -193,7 +193,7 @@ |
| 5 | |
| 6 | /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ |
| 7 | #if __BSD_VISIBLE || __XPG_VISIBLE |
| 8 | -#define P_tmpdir "/tmp/" |
| 9 | +#define P_tmpdir "@TERMUX_PREFIX@/tmp/" |
| 10 | #endif |
| 11 | #define L_tmpnam 1024 /* XXX must be == PATH_MAX */ |
| 12 | #define TMP_MAX 308915776 |
| 13 | @@ -371,6 +371,9 @@ |
| 14 | #define fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0) |
| 15 | #endif /* __BSD_VISIBLE */ |
| 16 | |
| 17 | +/* Needed by gnulibs freading() */ |
| 18 | +#define __sferror(p) (((p)->_flags & __SERR) != 0) |
| 19 | + |
| 20 | #if defined(__BIONIC_FORTIFY) |
| 21 | |
| 22 | __BEGIN_DECLS |