2014-05-14 22:42:20 -07:00
|
|
|
#ifndef WIN32_LARGEFILEWRAPPER_H
|
|
|
|
#define WIN32_LARGEFILEWRAPPER_H
|
|
|
|
|
2014-12-28 20:46:43 -08:00
|
|
|
#if defined(_MSC_VER)
|
2014-05-14 22:42:20 -07:00
|
|
|
#include <stdio.h>
|
2014-12-28 20:46:43 -08:00
|
|
|
#include <stdint.h>
|
2014-05-14 22:42:20 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2014-12-28 20:46:43 -08:00
|
|
|
#ifndef off64_t
|
|
|
|
typedef uint64_t off64_t;
|
|
|
|
#endif
|
|
|
|
|
2014-05-14 22:42:20 -07:00
|
|
|
int fseeko64(FILE* fp, off64_t offset, int whence);
|
2014-12-28 14:38:55 -08:00
|
|
|
off64_t ftello64(FILE* fp);
|
2014-05-14 22:42:20 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // WIN32_LARGEFILEWRAPPER_H
|