aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@4825ed28-b72c-4eae-9704-e50c059e567d>2008-01-15 19:37:15 +0000
committerschnetter <schnetter@4825ed28-b72c-4eae-9704-e50c059e567d>2008-01-15 19:37:15 +0000
commitcd2ca9534442996514806ece6440184d00189661 (patch)
treec4cec7143bbd239f766e99bed924091bcdb2a9bb
parent9f7a8fbc8bbf8bef5535d2d7adf65687c6c3176a (diff)
Choose HDF5 1.6 API when compiled with HDF5 1.8.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@233 4825ed28-b72c-4eae-9704-e50c059e567d
-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"