X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/8d4bc2e256346b407b3d8e9c7d4596e87b3075dd..d8608b14ec6c97f0228a63bea6b4044821f4ee61:/packages/cscope/errno.patch diff --git a/packages/cscope/errno.patch b/packages/cscope/errno.patch index 6e5bcb6c..c5388637 100644 --- a/packages/cscope/errno.patch +++ b/packages/cscope/errno.patch @@ -1,12 +1,10 @@ --- src/src/snprintf.c 2009-04-10 13:39:23.000000000 +0000 +++ patches/snprintf.c 2017-05-19 07:45:08.926751318 +0000 -@@ -522,7 +522,11 @@ +@@ -522,7 +522,9 @@ static UINTMAX_T myround(LDOUBLE); static LDOUBLE mypow10(int); -+#ifdef __ANDROID__ -+extern volatile int errno; -+#else ++#ifndef __ANDROID__ extern int errno; +#endif