summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 17b6e75..eff8964 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -749,8 +749,14 @@ H5_DLL int HDrand(void);
#define HDreaddir(D) readdir(D)
#define HDrealloc(M,Z) realloc(M,Z)
#ifdef H5_VMS
-#define HDremove(S) HDremove_all(S)
+#ifdef __cplusplus
+extern "C" {
+#endif
int HDremove_all(const char * fname);
+#ifdef __cplusplus
+}
+#endif
+#define HDremove(S) HDremove_all(S)
#else
#define HDremove(S) remove(S)
#endif /*H5_VMS*/