summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android.cpp5
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);