Skip to content

Commit 5d14b0a

Browse files
committed
Aviod including Dispatch headers on WASI
1 parent b81162c commit 5d14b0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
#include "swift/ABI/Actor.h"
2828
#include "llvm/ADT/PointerIntPair.h"
2929
#include "TaskPrivate.h"
30+
31+
#if !SWIFT_CONCURRENCY_COOPERATIVE_GLOBAL_EXECUTOR
3032
#include <dispatch/dispatch.h>
33+
#endif
3134

3235
#if defined(__APPLE__)
3336
#include <asl.h>

0 commit comments

Comments
 (0)