diff options
author | phunkyfish <phunkyfish@gmail.com> | 2024-03-24 20:26:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 20:26:22 +0100 |
commit | e4b448a1e92fa48bb4b4da7b30834f9b6e396dbd (patch) | |
tree | 99482119e02f8aca814ef8aef99aedf35c8567df | |
parent | 5e4cd8f1dedd83efd271e1a3ff5f13fef648ca0e (diff) | |
parent | a688ae83f6a22f41e70cf3593b47586d2c2aa34f (diff) |
Merge pull request #24894 from phunkyfish/fstat-wrapper-xcode
[cores] DllLoader wrapper fstatvfs64 - Backport
-rw-r--r-- | xbmc/cores/DllLoader/exports/wrapper.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/cores/DllLoader/exports/wrapper.c b/xbmc/cores/DllLoader/exports/wrapper.c index 455ec0b8ca..0d3d54bc1d 100644 --- a/xbmc/cores/DllLoader/exports/wrapper.c +++ b/xbmc/cores/DllLoader/exports/wrapper.c @@ -36,6 +36,7 @@ typedef fpos_t fpos64_t; #endif struct mntent; +struct statvfs64; void* dllmalloc(size_t ); void* dllcalloc( size_t , size_t ); @@ -91,6 +92,7 @@ int dll_ftrylockfile(FILE *file); void dll_funlockfile(FILE *file); int dll_fstat64(int fd, struct stat64 *buf); int dll_fstat(int fd, struct _stat *buf); +int dll_fstatvfs64(int fildes, struct statvfs64 *buf); FILE* dll_popen(const char *command, const char *mode); void* dll_dlopen(const char *filename, int flag); int dll_setvbuf(FILE *stream, char *buf, int type, size_t size); @@ -443,6 +445,11 @@ int __wrap_fstat64(int fd, struct stat64* buf) return dll_fstat64(fd, buf); } +int __wrap_fstatvfs64(int fd, struct statvfs64* buf) +{ + return dll_fstatvfs64(fd, buf); +} + int __wrap_setvbuf(FILE *stream, char *buf, int type, size_t size) { return dll_setvbuf(stream, buf, type, size); |