diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-11-21 20:53:31 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-21 12:14:30 -0800 |
commit | 5437e9f6371195c6b16afa76e9027434fa51aca8 (patch) | |
tree | 0ad32f1b61bd0c97b31f777d0f42fb43c12bb476 | |
parent | fc7f0c621501e90b723fb66c81effc6b47065647 (diff) | |
download | subsurface-5437e9f6371195c6b16afa76e9027434fa51aca8.tar.gz |
Create a subsurface_access for Android too
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | android.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android.cpp b/android.cpp index 1e99a5ced..0bb7db020 100644 --- a/android.cpp +++ b/android.cpp @@ -69,6 +69,11 @@ void *subsurface_opendir(const char *path) return (void *)opendir(path); } +int subsurface_access(const char *path, int mode) +{ + return access(path, mode); +} + struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp) { return zip_open(path, flags, errorp); |