From a3a23f63a6a276f08626562b0a8f8e184dc01f1f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 24 Feb 2017 01:14:06 -0800 Subject: Add subsurface_stat for Mac Which is also used on iOS. Signed-off-by: Dirk Hohndel --- core/macos.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/macos.c b/core/macos.c index c50ad6a0a..a7272599b 100644 --- a/core/macos.c +++ b/core/macos.c @@ -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); -- cgit v1.2.3-70-g09d2