summaryrefslogtreecommitdiffstats
path: root/src/H5win32defs.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-24 17:21:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-24 17:21:42 (GMT)
commitf960ff573ea4d7c324be7a392f0b0c85bc796030 (patch)
tree9ad7d7baac484f4feccd6586fd5cc7e4beeead97 /src/H5win32defs.h
parentb2120ac99316bc065a13e1ae3411eb968663a2f8 (diff)
downloadhdf5-f960ff573ea4d7c324be7a392f0b0c85bc796030.zip
hdf5-f960ff573ea4d7c324be7a392f0b0c85bc796030.tar.gz
hdf5-f960ff573ea4d7c324be7a392f0b0c85bc796030.tar.bz2
[svn-r20312] 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.h4
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)