From 6984b0580f828a4f8a9bb5b5769fb685977b080a Mon Sep 17 00:00:00 2001 From: Kate Date: Wed, 22 Jan 2020 02:20:29 +0000 Subject: [PATCH] Add support for OCaml 4.10 Signed-off-by: Kate --- src/exn_stubs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exn_stubs.c b/src/exn_stubs.c index e6f905aa..891902fb 100644 --- a/src/exn_stubs.c +++ b/src/exn_stubs.c @@ -1,6 +1,6 @@ +#define CAML_INTERNALS #include - -extern int caml_backtrace_pos; +#include CAMLprim value Base_clear_caml_backtrace_pos () { caml_backtrace_pos = 0;