vcpkg/ports/libssh/0004-file-permissions-constants.patch
Ahmed Yarub Hani Al Nuaimi b1f65da6b2
[libssh] Fix Android build (#29515)
* Fix libssh's file permission constants

* Update version files

* Disable building libssh on ARM64 Windows

* Update version files

* Update patch

* Update patch

* Update version files

* Update patch

* Update versions
2023-02-09 12:44:07 -08:00

15 lines
358 B
Diff

diff --git a/src/misc.c b/src/misc.c
--- a/src/misc.c (revision 9941e89f307e73352d887cac14e4e26b481a0a82)
+++ b/src/misc.c (date 1675868320486)
@@ -24,6 +24,10 @@
#include "config.h"
+#ifdef __ANDROID__
+#define _S_IWRITE S_IWUSR
+#endif
+
#ifndef _WIN32
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS