summaryrefslogtreecommitdiff
path: root/byterun/printexc.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/printexc.h')
-rw-r--r--byterun/printexc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/printexc.h b/byterun/printexc.h
index 5b0549b23f..4624086cb3 100644
--- a/byterun/printexc.h
+++ b/byterun/printexc.h
@@ -20,8 +20,16 @@
#include "misc.h"
#include "mlvalues.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
CAMLextern char * caml_format_exception (value);
void caml_fatal_uncaught_exception (value) Noreturn;
+#ifdef __cplusplus
+}
+#endif
#endif /* CAML_PRINTEXC_H */