summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 3082f96..50828c6 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -15,7 +15,9 @@
#include <sys/stat.h>
#include "hdf5.h"
+#ifdef QAK
#include "H5private.h" /* library function */
+#endif /* QAK */
#ifdef H5_HAVE_STDIO_H
#include <stdio.h>
@@ -228,8 +230,8 @@ H5Pset_fapl_stdio(hid_t fapl_id)
/* Clear the error stack */
H5Eclear();
- if(H5I_GENPROP_LST != H5I_get_type(fapl_id) ||
- TRUE != H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) {
+ if(H5I_GENPROP_LST != H5Iget_type(fapl_id) ||
+ 0 == H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) {
H5Epush_ret(func, H5E_PLIST, H5E_BADTYPE,
"not a file access property list", -1);
}