X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/blobdiff_plain/9867ff1acad95abe867ca53a2607c2ffaf515e41..9a5b4e1a0e7b1192bd42496cd901b671e77c61cd:/ndk_patches/stdio.h.patch?ds=sidebyside diff --git a/ndk_patches/stdio.h.patch b/ndk_patches/stdio.h.patch index 2b92fae8..9155e0cc 100644 --- a/ndk_patches/stdio.h.patch +++ b/ndk_patches/stdio.h.patch @@ -15,7 +15,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ #if __BSD_VISIBLE || __XPG_VISIBLE -#define P_tmpdir "/tmp/" -+#define P_tmpdir "/data/data/com.termux/files/usr/tmp/" ++#define P_tmpdir "@TERMUX_PREFIX@/tmp/" #endif #define L_tmpnam 1024 /* XXX must be == PATH_MAX */ #define TMP_MAX 308915776