From 6a7ddfe60c992121fb9389a1724bb7f7b884f3c5 Mon Sep 17 00:00:00 2001 From: Rob Latham Date: Thu, 18 Jul 2013 15:01:15 -0700 Subject: [PATCH] Define H5_USER_16_API to enable HDF5 backwards compatibility Since aiori-HDF5 uses old 1.6-style function calls (create, open, etc), turn on the backwards compatiblity here (the one place HDF5 calls are made). --- src/aiori-HDF5.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aiori-HDF5.c b/src/aiori-HDF5.c index 2f222f0..7649be0 100644 --- a/src/aiori-HDF5.c +++ b/src/aiori-HDF5.c @@ -19,6 +19,9 @@ #include /* only for fprintf() */ #include #include +/* HDF5 routines here still use the old 1.6 style. Nothing wrong with that but + * save users the trouble of passing this flag through configure */ +#define H5_USE_16_API #include #include