diff options
Diffstat (limited to 'byterun/signals.h')
-rw-r--r-- | byterun/signals.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/byterun/signals.h b/byterun/signals.h index f771a799e8..fb03b30dd5 100644 --- a/byterun/signals.h +++ b/byterun/signals.h @@ -22,6 +22,10 @@ #include "misc.h" #include "mlvalues.h" +#ifdef __cplusplus +extern "C" { +#endif + /* <private> */ CAMLextern intnat volatile caml_signals_are_pending; CAMLextern intnat volatile caml_pending_signals[]; @@ -48,4 +52,8 @@ CAMLextern int (*caml_try_leave_blocking_section_hook)(void); CAMLextern void (* volatile caml_async_action_hook)(void); /* </private> */ +#ifdef __cplusplus +} +#endif + #endif /* CAML_SIGNALS_H */ |