diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-03-29 13:54:16 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-03-29 13:54:16 (GMT) |
commit | 6333154b2c803c7877b1bdccc4fa76a550787760 (patch) | |
tree | b654b42c81cacffb1548befbce80410ba662de84 /src/H5private.h | |
parent | 5cae3b67d41de32cc3a94b9f9b15868f325b6f14 (diff) | |
download | hdf5-6333154b2c803c7877b1bdccc4fa76a550787760.zip hdf5-6333154b2c803c7877b1bdccc4fa76a550787760.tar.gz hdf5-6333154b2c803c7877b1bdccc4fa76a550787760.tar.bz2 |
[svn-r5115]
Purpose:
update HDfstat so that for windows it uses fstati64 instead of fstat.
Description:
Solution:
Platforms tested:
windows 2000(confirmed eirene)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index e911db5..fa281b9 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -547,7 +547,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) +#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) |