* Visual Studio fixes (requires VS2013 at the minimum)

This commit is contained in:
2014-12-28 20:46:43 -08:00
parent f322f1d7e7
commit 097a507bd0
37 changed files with 168 additions and 99 deletions

View File

@@ -1,11 +1,16 @@
#ifndef WIN32_LARGEFILEWRAPPER_H
#define WIN32_LARGEFILEWRAPPER_H
#if defined(_WIN32) && defined(_MSC_VER)
#if defined(_MSC_VER)
#include <stdio.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef off64_t
typedef uint64_t off64_t;
#endif
int fseeko64(FILE* fp, off64_t offset, int whence);
off64_t ftello64(FILE* fp);
#ifdef __cplusplus