mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 16:34:37 +00:00
Define S_IREAD i S_IWRITE for Android.
This commit is contained in:
parent
b1447edebc
commit
3b75b684a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user