diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-31 17:26:37 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-31 17:26:37 (GMT) |
commit | f972e20383a17f2d72d14a951f9bee8933c1ab4f (patch) | |
tree | 2c90d9f2369ba8e5113ec5049b506da2c6992e55 /src | |
parent | ff2e3ab9e9e4d2ef477d6d541354fd0b8caf1d38 (diff) | |
download | hdf5-f972e20383a17f2d72d14a951f9bee8933c1ab4f.zip hdf5-f972e20383a17f2d72d14a951f9bee8933c1ab4f.tar.gz hdf5-f972e20383a17f2d72d14a951f9bee8933c1ab4f.tar.bz2 |
[svn-r4286] Purpose:
Bug Fix
Description:
Header file is using incorrect macro for detecting parallel I/O when
backward compability is turned on.
Solution:
Fix header files to define prototypes for parallel I/O property list
functions when compiled with v1.2 backward compatibility turned on.
Platforms tested:
Eyeballed... (Elena will be testing shortly)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5P.c | 2 | ||||
-rw-r--r-- | src/H5Ppublic.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2650,7 +2650,7 @@ H5Pget_xfer(hid_t plist_id, H5D_transfer_t *data_xfer_mode) FUNC_LEAVE (SUCCEED); } -#endif /*HAVE_PARALLEL*/ +#endif /* HAVE_PARALLEL */ #endif /* WANT_H5_V1_2_COMPAT */ diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h index 6dc32bb..edd413a 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -172,7 +172,7 @@ __DLL__ herr_t H5Pget_split(hid_t plist_id, size_t meta_ext_size, char *meta_ext __DLL__ herr_t H5Pset_family(hid_t plist_id, hsize_t memb_size, hid_t memb_plist_id); __DLL__ herr_t H5Pget_family(hid_t plist_id, hsize_t *memb_size/*out*/, hid_t *memb_plist_id/*out*/); -#ifdef HAVE_PARALLEL +#if defined(HAVE_PARALLEL) || defined (H5_HAVE_PARALLEL) __DLL__ herr_t H5Pset_mpi(hid_t plist_id, MPI_Comm comm, MPI_Info info); __DLL__ herr_t H5Pget_mpi(hid_t plist_id, MPI_Comm *comm, MPI_Info *info); __DLL__ herr_t H5Pset_xfer(hid_t plist_id, H5D_transfer_t data_xfer_mode); |