mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-07 11:23:23 +00:00
15 lines
369 B
Diff
15 lines
369 B
Diff
--- 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 @@
|
|
static UINTMAX_T myround(LDOUBLE);
|
|
static LDOUBLE mypow10(int);
|
|
|
|
+#ifdef __ANDROID__
|
|
+extern volatile int errno;
|
|
+#else
|
|
extern int errno;
|
|
+#endif
|
|
|
|
int
|
|
rpl_vsnprintf(char *str, size_t size, const char *format, va_list args)
|