janestreet / base

Standard library for OCaml
MIT License
860 stars 125 forks source link

Add support for OCaml 4.10 #85

Closed kit-ty-kate closed 4 years ago

kit-ty-kate commented 4 years ago

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.

kit-ty-kate commented 4 years ago

This is a PR for the v0.13 branch because I'm guessing you might want to do a minor release before v0.14 to support OCaml 4.10.