Added OS X filesystem-support

This commit is contained in:
Jack Andersen
2015-04-04 14:35:32 -10:00
parent 504854f433
commit b21441cc11
5 changed files with 48 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
#ifndef OSX_LARGEFILEWRAPPER_H
#define OSX_LARGEFILEWRAPPER_H
#if defined(__APPLE__)
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
int fseeko64(FILE* fp, off_t offset, int whence);
off_t ftello64(FILE* fp);
#ifdef __cplusplus
}
#endif
#endif
#endif // OSX_LARGEFILEWRAPPER_H