Commit 3b75b684a1ac32cbf726cc3d647453a769b8dfe4

Krzysztof Adamski 2013-09-01T18:53:07

Define S_IREAD i S_IWRITE for Android.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tests-clar/odb/loose.c b/tests-clar/odb/loose.c
index 9539bb2..eb6b788 100644
--- a/tests-clar/odb/loose.c
+++ b/tests-clar/odb/loose.c
@@ -3,6 +3,11 @@
 #include "posix.h"
 #include "loose_data.h"
 
+#ifdef __ANDROID_API__
+# define S_IREAD        S_IRUSR
+# define S_IWRITE       S_IWUSR
+#endif
+
 static void write_object_files(object_data *d)
 {
 	int fd;