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