You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
m4: Fix build with strict C99
%ci:no-build
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/tests/strerror_r.c
|
||||
+++ b/tests/strerror_r.c
|
||||
@@ -43,7 +43,7 @@
|
||||
#endif
|
||||
int __xpg_strerror_r (int errnum, char *buf, size_t buflen);
|
||||
|
||||
-#elif HAVE_DECL_STRERROR_R && !(__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__)
|
||||
+#elif HAVE_DECL_STRERROR_R && !(__GLIBC__ >= 2 || defined __UCLIBC__ || defined __CYGWIN__ || defined __ANDROID__)
|
||||
|
||||
/* The system's strerror_r function is OK, except that its third argument
|
||||
is 'int', not 'size_t', or its return type is wrong. */
|
||||
Reference in New Issue
Block a user