summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unlink.c b/test/unlink.c
index 5b90dc2..774399e 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -554,7 +554,11 @@ test_filespace(void)
/* Metadata cache parameters */
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;
@@ -1197,7 +1201,11 @@ main(void)
/* Metadata cache parameters */
int mdc_nelmts;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int rdcc_nelmts;
+#else /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nelmts;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
size_t rdcc_nbytes;
double rdcc_w0;