mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
fc7f0c6215
commit
5437e9f637
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue