Skip to content

Commit 5d82779

Browse files
authored
flambda-backend: Remove C11 _Atomic typedefs (#1994)
remove _Atomic typedefs
1 parent c1231e0 commit 5d82779

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

runtime4/caml/camlatomic.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ using std::memory_order_seq_cst;
4242

4343
#include <stdatomic.h>
4444
#define ATOMIC_UINTNAT_INIT(x) (x)
45-
typedef _Atomic uintnat atomic_uintnat;
46-
typedef _Atomic intnat atomic_intnat;
45+
46+
// CR ocaml 5 runtime: provide these typedefs (requires C11)
47+
// typedef _Atomic uintnat atomic_uintnat;
48+
// typedef _Atomic intnat atomic_intnat;
4749

4850
#elif defined(__GNUC__)
4951

0 commit comments

Comments
 (0)