diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-31 17:24:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-31 17:24:56 (GMT) |
commit | ce28d2097679bd37bec62ef59538692f6ef95be4 (patch) | |
tree | c05fc74819c5874276f892d58989d983f0557291 | |
parent | 657ff95e968aa127e3145098a9731332819ac71e (diff) | |
download | hdf5-ce28d2097679bd37bec62ef59538692f6ef95be4.zip hdf5-ce28d2097679bd37bec62ef59538692f6ef95be4.tar.gz hdf5-ce28d2097679bd37bec62ef59538692f6ef95be4.tar.bz2 |
[svn-r4285] 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)
-rw-r--r-- | src/H5P.c | 2 | ||||
-rw-r--r-- | src/H5Ppublic.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -2660,7 +2660,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 144e68d..7af289c 100644 --- a/src/H5Ppublic.h +++ b/src/H5Ppublic.h @@ -171,12 +171,12 @@ __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); __DLL__ herr_t H5Pget_xfer(hid_t plist_id, H5D_transfer_t *data_xfer_mode); -#endif /*HAVE_PARALLEL*/ +#endif /*H5_HAVE_PARALLEL*/ #else /* WANT_H5_V1_2_COMPAT */ __DLL__ hid_t H5Pget_driver(hid_t plist_id); #endif /* WANT_H5_V1_2_COMPAT */ |