mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
Co-authored-by: Tim Sheerman-Chase <orders2008@sheerman-chase.org.uk> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
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
|