Skip to content

Commit 8bf4cb0

Browse files
authored
do not import stdatomic as it doesn't work with c++ interop on windows (#830)
* [windows] do not import stdatomic on windows as it doesn't work with c++ interop enabled Works around swiftlang/swift#75720 * remove the stdatomic include alltogether
1 parent bfe5638 commit 8bf4cb0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Sources/_FoundationCShims/include/_CStdlib.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@
136136
#include <complex.h>
137137
#endif
138138

139-
#if __has_include(<stdatomic.h>)
140-
#include <stdatomic.h>
141-
#endif
142-
143139
#if __has_include(<threads.h>)
144140
#include <threads.h>
145141
#endif

0 commit comments

Comments
 (0)