diff options
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h index 9888bd9..e8c5056 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -562,7 +562,11 @@ __DLL__ int HDfprintf (FILE *stream, const char *fmt, ...); /* fscanf() variable arguments */ #define HDfseek(F,O,W) fseek(F,O,W) #define HDfsetpos(F,P) fsetpos(F,P) -#define HDfstat(F,B) fstat(F,B) +#ifdef WIN32 +#define HDfstat(F,B) _fstati64(F,B) +#else +#define HDfstat(F,B) fstat(F,B) +#endif #define HDftell(F) ftell(F) #define HDfwrite(M,Z,N,F) fwrite(M,Z,N,F) #define HDgetc(F) getc(F) |