Navigation Menu

Skip to content

Commit

Permalink
Create a subsurface_access for Android too
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
  • Loading branch information
glance- authored and dirkhh committed Nov 21, 2014
1 parent fc7f0c6 commit 5437e9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 5437e9f

Please sign in to comment.