summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 13a3fe4..c2eecd4 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -177,6 +177,7 @@
#define HDF5_FREESPACE_VERSION 0 /* of the Free-Space Info */
#define HDF5_OBJECTDIR_VERSION 0 /* of the Object Directory format */
#define HDF5_SHAREDHEADER_VERSION 0 /* of the Shared-Header Info */
+#define HDF5_DRIVERINFO_VERSION 0 /* of the Driver Information Block*/
/*
* Status return values for the `herr_t' type.
@@ -394,15 +395,6 @@ typedef int intn;
typedef unsigned uintn;
/*
- * File addresses.
- */
-typedef struct {
- uint64_t offset; /*offset within an HDF5 file */
-} haddr_t;
-
-#define H5F_ADDR_UNDEF {((uint64_t)(-1L))}
-
-/*
* Maximum and minimum values. These should be defined in <limits.h> for the
* most part.
*/
@@ -706,9 +698,12 @@ __DLL__ int64_t HDstrtoll (const char *s, const char **rest, int base);
#define HDwrite(F,M,Z) write(F,M,Z)
/*
- * And now for a couple non-Posix functions...
+ * And now for a couple non-Posix functions... Watch out for systems that
+ * define these in terms of macros.
*/
+#ifndef strdup
char *strdup(const char *s);
+#endif
#define HDstrdup(S) strdup(S)
#ifndef HAVE_SNPRINTF