diff --git a/ocaml/runtime4/caml/camlatomic.h b/ocaml/runtime4/caml/camlatomic.h index 7206f0579ac..6a214e75a7e 100644 --- a/ocaml/runtime4/caml/camlatomic.h +++ b/ocaml/runtime4/caml/camlatomic.h @@ -42,8 +42,10 @@ using std::memory_order_seq_cst; #include #define ATOMIC_UINTNAT_INIT(x) (x) -typedef _Atomic uintnat atomic_uintnat; -typedef _Atomic intnat atomic_intnat; + +// CR ocaml 5 runtime: provide these typedefs (requires C11) +// typedef _Atomic uintnat atomic_uintnat; +// typedef _Atomic intnat atomic_intnat; #elif defined(__GNUC__)