summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h
index e8c5056..47d44cd 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -562,10 +562,13 @@ __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)
+/* definitions related to the file stat utilities */
#ifdef WIN32
#define HDfstat(F,B) _fstati64(F,B)
+typedef struct _stati64 h5_stat_t;
#else
#define HDfstat(F,B) fstat(F,B)
+typedef struct stat h5_stat_t;
#endif
#define HDftell(F) ftell(F)
#define HDfwrite(M,Z,N,F) fwrite(M,Z,N,F)