Create a subsurface_access for Android too

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-11-21 20:53:31 +01:00 committed by Dirk Hohndel
parent fc7f0c6215
commit 5437e9f637

View file

@ -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);