mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-25 21:20:41 +00:00
22 lines
595 B
Diff
22 lines
595 B
Diff
--- ./strverscmp.c.orig 2022-04-17 17:30:13.079263409 +0000
|
|
+++ ./strverscmp.c 2022-04-17 17:37:27.495463877 +0000
|
|
@@ -21,7 +21,7 @@
|
|
/* #include "libiberty.h" */
|
|
/* #include "safe-ctype.h" */
|
|
#include <ctype.h>
|
|
-#ifndef __linux__
|
|
+#if defined(__ANDROID__) || !defined(__linux__)
|
|
|
|
/*
|
|
@deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2})
|
|
--- a/tree.h
|
|
+++ b/tree.h
|
|
@@ -307,6 +307,6 @@
|
|
|
|
|
|
/* We use the strverscmp.c file if we're not linux: */
|
|
-#ifndef __linux__
|
|
+#if defined(__ANDROID__) || !defined(__linux__)
|
|
int strverscmp (const char *s1, const char *s2);
|
|
#endif
|