summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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__ */