summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index 9fa3186..a9b9859 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -196,7 +196,11 @@ H5_term_library(void)
goto done;
/* Check if we should display error output */
+#ifdef H5_WANT_H5_V1_6_COMPAT
+ (void)H5Eget_auto(&func,NULL);
+#else
(void)H5Eget_auto(H5E_DEFAULT,&func,NULL);
+#endif /* H5_WANT_H5_V1_6_COMPAT */
/*
* Terminate each interface. The termination functions return a positive