summaryrefslogtreecommitdiffstats
path: root/src/H5version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5version.h')
-rw-r--r--src/H5version.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/H5version.h b/src/H5version.h
index 8ea79be..818b699 100644
--- a/src/H5version.h
+++ b/src/H5version.h
@@ -74,6 +74,10 @@
#define H5Rget_obj_type_vers 1
#endif /* !defined(H5Rget_obj_type_vers) */
+#if !defined(H5Tcommit_vers)
+#define H5Tcommit_vers 1
+#endif /* !defined(H5Tcommit_vers) */
+
/************/
/* Typedefs */
/************/
@@ -198,6 +202,17 @@
#error "H5Rget_obj_type_vers set to invalid value"
#endif /* H5Rget_obj_type_vers */
+#if !defined(H5Tcommit_vers) || H5Tcommit_vers == 2
+#ifndef H5Tcommit_vers
+#define H5Tcommit_vers 2
+#endif /* H5Tcommit_vers */
+#define H5Tcommit H5Tcommit2
+#elif H5Tcommit_vers == 1
+#define H5Tcommit H5Tcommit1
+#else /* H5Tcommit_vers */
+#error "H5Tcommit_vers set to invalid value"
+#endif /* H5Tcommit_vers */
+
/************/
/* Typedefs */
/************/