Commit 3b75b684 by Krzysztof Adamski

Define S_IREAD i S_IWRITE for Android.

parent b1447ede
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
#include "posix.h" #include "posix.h"
#include "loose_data.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) static void write_object_files(object_data *d)
{ {
int fd; int fd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment