vcpkg/ports/libssh/0004-file-permissions-constants.patch
Ahmed Yarub Hani Al Nuaimi 45e1df3415
[libssh] Fix Android build (again) (#29577)
* Fix libssh patch for Android

* Update versions

* Update versions
2023-02-13 08:45:40 -08:00

16 lines
384 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,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