summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:52:46 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-03-19 23:52:46 (GMT)
commitb9d9111ecc1501c8ea75996bae1949326de4db0d (patch)
tree0aa8966c42becd6c3aa7e040b5fbd218a5023a9b
parent276ba30370e1638744a11aefb9881a375fece4bb (diff)
downloadhdf5-b9d9111ecc1501c8ea75996bae1949326de4db0d.zip
hdf5-b9d9111ecc1501c8ea75996bae1949326de4db0d.tar.gz
hdf5-b9d9111ecc1501c8ea75996bae1949326de4db0d.tar.bz2
[svn-r6507] Purpose:
bug Fix Description: MPI stuff was getting into the non-parallel headers. Solution: #ifdefed the headers out if H5_HAVE_FPHDF5 isn't defined... Platforms tested: Sol, Modi4 Misc. update:
-rw-r--r--src/H5FPprivate.h4
-rw-r--r--src/H5FPpublic.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/src/H5FPprivate.h b/src/H5FPprivate.h
index c033182..0b08d45 100644
--- a/src/H5FPprivate.h
+++ b/src/H5FPprivate.h
@@ -15,6 +15,8 @@
#ifndef H5FPPRIVATE_H__
#define H5FPPRIVATE_H__ 0
+#ifdef H5_HAVE_FPHDF5
+
#include "H5ACpublic.h" /* Metadata Cache */
#include "H5FPpublic.h" /* Flexible Parallel HDF5 */
#include "H5Oprivate.h" /* Object Headers */
@@ -296,4 +298,6 @@ extern herr_t H5FP_read_metadata(char **mdata, int len, int from);
}
#endif /* __cplusplus */
+#endif /* H5_HAVE_FPHDF5 */
+
#endif /* H5FPPRIVATE_H__ */
diff --git a/src/H5FPpublic.h b/src/H5FPpublic.h
index 644c363..b93bd5f 100644
--- a/src/H5FPpublic.h
+++ b/src/H5FPpublic.h
@@ -16,6 +16,8 @@
#include "H5public.h"
+#ifdef H5_HAVE_FPHDF5
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -27,4 +29,7 @@ H5_DLL herr_t H5FPfinalize(void);
#ifdef __cplusplus
}
#endif
+
+#endif /* H5_HAVE_FPHDF5 */
+
#endif /* H5FPPUBLIC_H__ */