From cd2ca9534442996514806ece6440184d00189661 Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 15 Jan 2008 19:37:15 +0000 Subject: 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 --- doc/CreateIOHDF5datafile.c | 2 ++ src/util/hdf5_convert_from_ieeeio.c | 1 + src/util/hdf5_convert_from_sdf.c | 1 + 3 files changed, 4 insertions(+) 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 #include + +#define H5_USE_16_API 1 #include 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 #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 /* HDF5 include */ +#define H5_USE_16_API 1 #include #define GLOBAL_ATTRIBUTES_GROUP "Global Attributes" -- cgit v1.2.3