mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 09:29:01 +08:00
45e1df3415
* Fix libssh patch for Android * Update versions * Update versions
16 lines
384 B
Diff
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
|