mirror of https://github.com/microsoft/vcpkg.git
17 lines
341 B
Diff
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
|