diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-03-27 20:47:24 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-03-27 20:47:24 (GMT) |
commit | 631b344df28c16bff9ee04fbc047c29818feddc9 (patch) | |
tree | 7cd3d97890a6a0cb0e85f9e9a1aec72904a2c3b4 /src/H5detect.c | |
parent | cdb3596858342529bd5138a951e24390e0b500a2 (diff) | |
download | hdf5-631b344df28c16bff9ee04fbc047c29818feddc9.zip hdf5-631b344df28c16bff9ee04fbc047c29818feddc9.tar.gz hdf5-631b344df28c16bff9ee04fbc047c29818feddc9.tar.bz2 |
[svn-r5101]
Purpose:
fix a windows bug
Description:
1. To create a >4GB file, fstati64 has to be used instead of fstat.
change fstat to fstati64 for WIN32 macroes. Some discussions are going on
the general issue on how to better handle with WIN32 or other similar platform.
This check-in is just a reminder not to forget the windows bug.
2. erase a WIN32 macro(include winsock2.h) at h5detect.c. It is not a problem now.
Solution:
use fstati64 instead of fstat for win32.
Platforms tested:
windows2000(confirmed at linux machine eirene)
Diffstat (limited to 'src/H5detect.c')
-rw-r--r-- | src/H5detect.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/H5detect.c b/src/H5detect.c index 5955f23..39aeafa 100644 --- a/src/H5detect.c +++ b/src/H5detect.c @@ -30,9 +30,6 @@ static const char *FileHeader = "\n\ *------------------------------------------------------------------------- */ #undef NDEBUG -#ifdef WIN32 -#include "winsock2.h" -#endif /*kent yang 6/21/2001, make sure to put this before H5private.h*/ #include "H5private.h" #define MAXDETECT 64 |