summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-12-05 16:42:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-12-05 16:42:40 (GMT)
commit4886a6c447dc445ed34d8c6ea162b57cbbcec72b (patch)
treedf5e3f11b8af2766dcd07418331747c085245afb /test
parenta9c747deba6e588b2ec5bc624a53c976a9faa3bc (diff)
downloadhdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.zip
hdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.tar.gz
hdf5-4886a6c447dc445ed34d8c6ea162b57cbbcec72b.tar.bz2
[svn-r4670] Purpose:
Backward Compatibility Fix Description: One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing to allow v1.4.x users to continue to use their source code without modification. These changes are for everything except the FORTRAN wrappers - I spoke with Elena and she will make the FORTRAN wrapper changes. Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'test')
-rw-r--r--test/tfile.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 5cc21f0..308188a 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -64,7 +64,11 @@ test_file_create(void)
size_t parm; /*file-creation parameters */
size_t parm2; /*file-creation parameters */
int iparm;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int iparm2;
+#else /* H5_WANT_H5_V1_4_COMPAT */
unsigned iparm2;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
herr_t ret; /*generic return value */
/* Output message about test being performed */
@@ -297,7 +301,11 @@ test_file_open(void)
size_t parm; /*file-creation parameters */
size_t parm2; /*file-creation parameters */
int iparm;
+#ifdef H5_WANT_H5_V1_4_COMPAT
+ int iparm2;
+#else /* H5_WANT_H5_V1_4_COMPAT */
unsigned iparm2;
+#endif /* H5_WANT_H5_V1_4_COMPAT */
herr_t ret; /*generic return value */
/* Output message about test being performed */