mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add subsurface_stat for Mac
Which is also used on iOS. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5ed93a9d9e
commit
a3a23f63a6
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue