diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2011-03-24 17:22:13 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2011-03-24 17:22:13 (GMT) |
commit | 0417fd2bd774e99316568cc6cae027f71b7c4418 (patch) | |
tree | 08e378398bc5502375a15d02ac605742e32a283c /src/H5win32defs.h | |
parent | 2e84173af5257e1d1b2490633bad80dd47cd49e3 (diff) | |
download | hdf5-0417fd2bd774e99316568cc6cae027f71b7c4418.zip hdf5-0417fd2bd774e99316568cc6cae027f71b7c4418.tar.gz hdf5-0417fd2bd774e99316568cc6cae027f71b7c4418.tar.bz2 |
[svn-r20313] Change incorrect use of "struct stat" to use "h5_stat_t".
Also removed includes from top of file - they are included with proper config checks in h5private.h.
Changed name of Windows only gettimeofday function to avoid a define loop according to VS2008
Tested: local linux, windows
Diffstat (limited to 'src/H5win32defs.h')
-rw-r--r-- | src/H5win32defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h index fb37059..6ccc86a 100644 --- a/src/H5win32defs.h +++ b/src/H5win32defs.h @@ -48,11 +48,11 @@ typedef __int64 h5_stat_size_t; #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ - H5_DLL int HDgettimeofday(struct timeval *tv, void *tz); + H5_DLL int Wgettimeofday(struct timeval *tv, void *tz); #ifdef __cplusplus } #endif /* __cplusplus */ - #define HDgettimeofday(V,Z) HDgettimeofday(V,Z) + #define HDgettimeofday(V,Z) Wgettimeofday(V,Z) #endif /* H5_HAVE_GETTIMEOFDAY */ #define HDgetdrive() _getdrive() #define HDlseek(F,O,W) _lseeki64(F,O,W) |