Skip to content

Commit bdbe619

Browse files
committed
unixsupport.h: fix C++ _Atomic incompatibility
1 parent f0801be commit bdbe619

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

otherlibs/unix/caml/unixsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct filedescr {
4646
SOCKET socket;
4747
} fd; /* Real windows handle */
4848
enum { KIND_HANDLE, KIND_SOCKET } kind;
49-
_Atomic int crt_fd; /* C runtime descriptor */
49+
atomic_int crt_fd; /* C runtime descriptor */
5050
unsigned int flags_fd; /* See FLAGS_FD_* */
5151
};
5252

0 commit comments

Comments
 (0)