Files
vcpkg/ports/libssh/0004-file-permissions-constants.patch
Kai Pastor 28354c1f3b [libssh] Update to 0.11.2 (#46794)
Co-authored-by: Tim Sheerman-Chase <orders2008@sheerman-chase.org.uk>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2025-08-06 22:39:30 -07:00

17 lines
341 B
Diff

diff --git a/src/misc.c b/src/misc.c
index 774211f..33d37b4 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -24,6 +24,11 @@
#include "config.h"
+#ifdef __ANDROID__
+#define _S_IWRITE S_IWUSR
+#define S_IWRITE S_IWUSR
+#endif
+
#ifndef _WIN32
/* This is needed for a standard getpwuid_r on opensolaris */
#define _POSIX_PTHREAD_SEMANTICS