summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-04-26 22:36:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-04-26 22:36:58 (GMT)
commit191eb62249a27c22dab956d12bc223f37463910c (patch)
treeef77df8896cc1a1dcb4da334b6578bcd265363b4 /src/H5P.c
parentbd4dbbe5183f48e96f0f4c2be88c00b1f9dacf59 (diff)
downloadhdf5-191eb62249a27c22dab956d12bc223f37463910c.zip
hdf5-191eb62249a27c22dab956d12bc223f37463910c.tar.gz
hdf5-191eb62249a27c22dab956d12bc223f37463910c.tar.bz2
[svn-r5274] Purpose:
Migrate from configure macros of XYZ_ABC to H5_XYZ_ABC Description: configure generates many macros definitions on the fly and were stored in src/H5config.h which is included by H5public.h. But other software that uses hdf5 may also run their own configure. There can be a clash in macro name space. We decided awhile ago to prepend all generated macros with "H5_" to avoid conflicts. The process has started and this commit completes it (at least attempt to). Solution: Many macros symbols (e.g. SIZEOF_xxx and HAVE_xxx were changed to H5_SIZEOF_xxx and H5_HAVE_xxx). Then H5private.h no longer includes H5config.h. This cuts H5config.h away from HDF5 source code. Pending issues: The macro definitions (more like redefinitions) of potential keywords: const, off_t, size_t, and inline are not totally solved yet. The module of fortran and pablo are to be resolved in a different commit. Platforms tested: eirene (parallel), arabica (solaris 7 --enable-fortran, --enable-cxx)
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 44fad32..d26dff6 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -2427,7 +2427,7 @@ H5Pget_family(hid_t plist_id, hsize_t *memb_size/*out*/,
}
-#ifdef HAVE_PARALLEL
+#ifdef H5_HAVE_PARALLEL
/*-------------------------------------------------------------------------
* Function: H5Pset_mpi
*
@@ -2660,7 +2660,7 @@ H5Pget_xfer(hid_t plist_id, H5D_transfer_t *data_xfer_mode)
FUNC_LEAVE (SUCCEED);
}
-#endif /* HAVE_PARALLEL */
+#endif /* H5_HAVE_PARALLEL */
#endif /* WANT_H5_V1_2_COMPAT */