summaryrefslogtreecommitdiffstats
path: root/test/tgenprop.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-01-09 19:17:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-01-09 19:17:40 (GMT)
commit12dca9ab3c362fc190feb330232bec4bd552df3c (patch)
tree238939833e5fbf94d4a0a3e611fd4dbacbef6ddb /test/tgenprop.c
parent27c20c9b98ff7a9ae53541879c330da7acc835e6 (diff)
downloadhdf5-12dca9ab3c362fc190feb330232bec4bd552df3c.zip
hdf5-12dca9ab3c362fc190feb330232bec4bd552df3c.tar.gz
hdf5-12dca9ab3c362fc190feb330232bec4bd552df3c.tar.bz2
[svn-r8047] Purpose:
Bug fix Description: Add some more #ifdefs to fix 1.6 compatibility failures Platforms tested: FreeBSD 4.9 (sleipnir) w/1.6 compatibility Too minor to require h5committest
Diffstat (limited to 'test/tgenprop.c')
-rw-r--r--test/tgenprop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/tgenprop.c b/test/tgenprop.c
index 51f1ceb..79836de 100644
--- a/test/tgenprop.c
+++ b/test/tgenprop.c
@@ -1051,6 +1051,7 @@ test_genprop_prop_cop_cb1(const char *name, size_t size, void *value)
return(SUCCEED);
}
+#ifndef H5_WANT_H5_V1_6_COMPAT
/****************************************************************
**
** test_genprop_prop_cmp_cb1(): Property comparison callback for test_genprop_list_callback
@@ -1064,6 +1065,7 @@ test_genprop_prop_cmp_cb1(const void UNUSED *value1, const void UNUSED *value2,
return(0);
}
+#endif /* H5_WANT_H5_V1_6_COMPAT */
/****************************************************************
**
@@ -1292,12 +1294,14 @@ test_genprop_list_callback(void)
VERIFY(cop_cb_struct.count, 1, "H5Pcopy");
VERIFY(cop_cb_struct.id, lid2, "H5Pcopy");
+#ifndef H5_WANT_H5_V1_6_COMPAT
/* Compare the two lists */
ret = H5Pequal(lid1,lid2);
VERIFY(ret, 1, "H5Pequal");
/* Verify compare callback information for properties tracked */
VERIFY(prop1_cb_info.cmp_count, 1, "H5Pequal");
+#endif /* H5_WANT_H5_V1_6_COMPAT */
/* Close first list */
ret = H5Pclose(lid1);