Skip to content

Commit 24d36fa

Browse files
Guard including unused dlfcn header in COOPERATIVE_GLOBAL_EXECUTOR
1 parent 18b3c2e commit 24d36fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/Concurrency/GlobalExecutor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,13 @@
6060

6161
#if !SWIFT_CONCURRENCY_COOPERATIVE_GLOBAL_EXECUTOR
6262
#include <dispatch/dispatch.h>
63-
#endif
6463

6564
#if !defined(_WIN32)
6665
#include <dlfcn.h>
6766
#endif
6867

68+
#endif
69+
6970
using namespace swift;
7071

7172
SWIFT_CC(swift)

0 commit comments

Comments
 (0)