diff options
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5private.h b/src/H5private.h index f772dae..29f1bf0 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -908,9 +908,16 @@ H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); #endif /* HDlongjmp */ #ifndef HDlseek #ifdef H5_HAVE_LSEEK64 - #define HDlseek(F,O,W) lseek64(F,O,W) + #define HDlseek(F,O,W) lseek64(F,O,W) + #define HDoff_t off64_t #else - #define HDlseek(F,O,W) lseek(F,O,W) + #define HDlseek(F,O,W) lseek(F,O,W) + #if defined (_WIN32) && !defined(__MWERKS__) + # /*MSVC*/ + # define HDoff_t __int64 + #else + # define HDoff_t off_t + #endif #endif #endif /* HDlseek */ #ifndef HDmalloc |