diff options
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 86b975c..5421b6c 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -618,15 +618,18 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); /* definitions related to the file stat utilities */ #ifdef WIN32 #ifdef __MWERKS__ - #define HDfstat(F,B) fstat(F,B) + #define HDfstat(F,B) fstat(F,B) typedef struct stat h5_stat_t; + typedef off_t h5_stat_size_t; #else /*MSVC*/ #define HDfstat(F,B) _fstati64(F,B) typedef struct _stati64 h5_stat_t; + typedef __int64 h5_stat_size_t; #endif #else #define HDfstat(F,B) fstat(F,B) typedef struct stat h5_stat_t; +typedef off_t h5_stat_size_t; #endif #define HDftell(F) ftell(F) |