aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/H5IO.cc4
-rw-r--r--src/H5IO.hh4
-rw-r--r--src/H5IOwriter.cc4
-rw-r--r--src/H5writer.c4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/H5IO.cc b/src/H5IO.cc
index e457f99..7a2a07b 100644
--- a/src/H5IO.cc
+++ b/src/H5IO.cc
@@ -1,6 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+/* Some macros to fix compatibility issues as long as 1.8.0 is in beta
+ phase */
+#define H5_USE_16_API 1
#include <hdf5.h>
#include "H5IO.hh"
diff --git a/src/H5IO.hh b/src/H5IO.hh
index 891f9bc..7062ca4 100644
--- a/src/H5IO.hh
+++ b/src/H5IO.hh
@@ -34,6 +34,10 @@ Buffer Policy
* ReadBufferSize
*/
+
+/* Some macros to fix compatibility issues as long as 1.8.0 is in beta
+ phase */
+#define H5_USE_16_API 1
#include <hdf5.h>
class H5IO : public IObase {
diff --git a/src/H5IOwriter.cc b/src/H5IOwriter.cc
index 2b133fe..71d9845 100644
--- a/src/H5IOwriter.cc
+++ b/src/H5IOwriter.cc
@@ -3,6 +3,10 @@
* Data conversion is performed during write operation.
*/
#include <H5IO.hh>
+
+/* Some macros to fix compatibility issues as long as 1.8.0 is in beta
+ phase */
+#define H5_USE_16_API 1
#include <hdf5.h>
#define FILE "SDS.h5"
diff --git a/src/H5writer.c b/src/H5writer.c
index 2f133f7..2e86336 100644
--- a/src/H5writer.c
+++ b/src/H5writer.c
@@ -3,6 +3,10 @@
* Data conversion is performed during write operation.
*/
// #include <H5IO.hh>
+
+/* Some macros to fix compatibility issues as long as 1.8.0 is in beta
+ phase */
+#define H5_USE_16_API 1
#include <hdf5.h>
#define WRITE_H5
#define FILE "SDS.h5"