summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
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/H5system.c
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/H5system.c')
-rw-r--r--src/H5system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5system.c b/src/H5system.c
index 7776cbb..02ea625 100644
--- a/src/H5system.c
+++ b/src/H5system.c
@@ -584,7 +584,7 @@ HDremove_all(const char *fname)
#endif
/*-------------------------------------------------------------------------
- * Function: HDgettimeofday
+ * Function: Wgettimeofday
*
* Purpose: Wrapper function for gettimeofday on Windows systems
*
@@ -610,7 +610,7 @@ HDremove_all(const char *fname)
#define _W32_FT_OFFSET (116444736000000000ULL)
int
-HDgettimeofday(struct timeval *tv, void *tz)
+Wgettimeofday(struct timeval *tv, void *tz)
{
union {
unsigned long long ns100; /*time since 1 Jan 1601 in 100ns units */