Add subsurface_stat for Mac

Which is also used on iOS.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-02-24 01:14:06 -08:00
parent 5ed93a9d9e
commit a3a23f63a6

View file

@ -190,6 +190,11 @@ int subsurface_access(const char *path, int mode)
return access(path, mode);
}
int subsurface_stat(const char* path, struct stat* buf)
{
return stat(path, buf);
}
struct zip *subsurface_zip_open_readonly(const char *path, int flags, int *errorp)
{
return zip_open(path, flags, errorp);