summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-27 23:01:48 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-27 23:01:48 (GMT)
commit0726621eaa2c3423c8d8969fae314af54e902604 (patch)
tree550e6ebf64bf191fdc21633ee760759b9c2f9950 /test/istore.c
parente7b7e14a88f37a6d348e62abf10765059383d645 (diff)
downloadhdf5-0726621eaa2c3423c8d8969fae314af54e902604.zip
hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.gz
hdf5-0726621eaa2c3423c8d8969fae314af54e902604.tar.bz2
[svn-r3005] Purpose:
Backward compatibility code Description: Add in code to allow the library to emulate the v1.2 API and behavior. Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/istore.c b/test/istore.c
index c6d7b9a..e0448c4 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -562,7 +562,11 @@ main(int argc, char *argv[])
* For testing file families, fool the library into thinking it already
* allocated a whole bunch of data.
*/
+#ifdef H5_WANT_H5_V1_2_COMPAT
+ if (H5F_LOW_FAMILY!=H5Pget_driver(fapl)) {
+#else /* H5_WANT_H5_V1_2_COMPAT */
if (H5FD_FAMILY==H5Pget_driver(fapl)) {
+#endif /* H5_WANT_H5_V1_2_COMPAT */
haddr_t addr;
addr = 8 * ((uint64_t)1<<30); /*8 GB */
if (H5FDset_eoa(f->shared->lf, addr)<0) {