Skip to content

Commit 8702707

Browse files
authored
Merge pull request #59576 from compnerd/declaration
Concurency: add `Windows.h` include
2 parents 007da5e + a35c7b3 commit 8702707

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/public/Concurrency/DispatchGlobalExecutor.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424

2525
#if SWIFT_CONCURRENCY_ENABLE_DISPATCH
2626
#include <dispatch/dispatch.h>
27-
#if !defined(_WIN32)
27+
#if defined(_WIN32)
28+
#include <Windows.h>
29+
#else
2830
#include <dlfcn.h>
2931
#endif
3032
#endif

0 commit comments

Comments
 (0)