summaryrefslogtreecommitdiffstats
path: root/src/H5FPpublic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FPpublic.h')
-rw-r--r--src/H5FPpublic.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/H5FPpublic.h b/src/H5FPpublic.h
index 047c0ce..f282e23 100644
--- a/src/H5FPpublic.h
+++ b/src/H5FPpublic.h
@@ -16,7 +16,14 @@
#include "H5public.h"
-extern herr_t H5FPinit(MPI_Comm comm, int sap_rank);
-extern herr_t H5FPfinalize(void);
+#ifdef __cplusplus
+extern "C" {
+#endif
+H5_DLL herr_t H5FPinit(MPI_Comm comm, int sap_rank);
+H5_DLL herr_t H5FPfinalize(void);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* H5FPPUBLIC_H__ */