Skip to content

Commit 5f21e67

Browse files
authored
Remove C11 _Atomic typedefs (#1994)
remove _Atomic typedefs
1 parent 2b0a11d commit 5f21e67

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ocaml/runtime4/caml/camlatomic.h

+4-2
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)