With https://github.com/ocaml/ocaml/pull/9253 the OCaml compiler team decided to move back the Caml_state compatibility macros to the files they were defined in originally. So per @Octachron's recommendation here is a slightly simpler patch from the one you already had ready to add support for OCaml 4.10 in base.
With https://github.com/ocaml/ocaml/pull/9253 the OCaml compiler team decided to move back the
Caml_state
compatibility macros to the files they were defined in originally. So per @Octachron's recommendation here is a slightly simpler patch from the one you already had ready to add support for OCaml 4.10 in base.