Skip to content

Commit

Permalink
flambda-backend: Add OCaml 4 feature macros (#1975)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncik-roberts authored Nov 3, 2023
1 parent 4a1e6dd commit 0e380c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions runtime4/caml/version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@
#undef OCAML_VERSION_EXTRA
#undef OCAML_VERSION
#undef OCAML_VERSION_STRING

/* Macros defining differences between Jane Street's version of OCaml and
stock OCaml 5, which we will not port over to the OCaml 5 runtime.
*/

#define JANE_STREET_HAS_OCAML_4_GC
#define JANE_STREET_HAS_OCAML_4_PRNG
#define JANE_STREET_HAS_NO_DOMAINS

0 comments on commit 0e380c9

Please sign in to comment.