aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CreateIOHDF5datafile.c2
-rw-r--r--src/util/hdf5_convert_from_ieeeio.c1
-rw-r--r--src/util/hdf5_convert_from_sdf.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/doc/CreateIOHDF5datafile.c b/doc/CreateIOHDF5datafile.c
index 00c9c76..1ba5086 100644
--- a/doc/CreateIOHDF5datafile.c
+++ b/doc/CreateIOHDF5datafile.c
@@ -13,6 +13,8 @@
#include <stdio.h>
#include <stdlib.h>
+
+#define H5_USE_16_API 1
#include <hdf5.h>
diff --git a/src/util/hdf5_convert_from_ieeeio.c b/src/util/hdf5_convert_from_ieeeio.c
index 90e69d7..0066da5 100644
--- a/src/util/hdf5_convert_from_ieeeio.c
+++ b/src/util/hdf5_convert_from_ieeeio.c
@@ -24,6 +24,7 @@
#include "IEEEIO.h"
/* HDF5 include */
+#define H5_USE_16_API 1
#include <hdf5.h>
#define GLOBAL_ATTRIBUTES_GROUP "Global Attributes"
diff --git a/src/util/hdf5_convert_from_sdf.c b/src/util/hdf5_convert_from_sdf.c
index 9236faf..63f820a 100644
--- a/src/util/hdf5_convert_from_sdf.c
+++ b/src/util/hdf5_convert_from_sdf.c
@@ -24,6 +24,7 @@
#include <sdf_priv.h>
/* HDF5 include */
+#define H5_USE_16_API 1
#include <hdf5.h>
#define GLOBAL_ATTRIBUTES_GROUP "Global Attributes"