summaryrefslogtreecommitdiff
path: root/byterun/mlvalues.h
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/mlvalues.h')
-rw-r--r--byterun/mlvalues.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/mlvalues.h b/byterun/mlvalues.h
index 201b86bda0..d560d1b3ae 100644
--- a/byterun/mlvalues.h
+++ b/byterun/mlvalues.h
@@ -22,6 +22,10 @@
#include "config.h"
#include "misc.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Definitions
word: Four bytes on 32 and 16 bit architectures,
@@ -294,5 +298,9 @@ CAMLextern header_t caml_atom_table[];
extern value caml_global_data;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* CAML_MLVALUES_H */