chiark / gitweb /
cscope: Some minor updates
[termux-packages] / packages / cscope / errno.patch
index 6e5bcb6c7933773bb741e60b1a909251394c81e2..c538863728058f1ca553482a9566a32345b0e61c 100644 (file)
@@ -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