Skip to content

Commit 4c9fb28

Browse files
committed
Avoid including "llvm/Config/config.h" in the concurrency back-deploy library
We only build for one flavor of platforms anyway, and have generally avoided these macros.
1 parent 3c21857 commit 4c9fb28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
#include "swift/Runtime/ThreadLocalStorage.h"
3535
#include "swift/ABI/Task.h"
3636
#include "swift/ABI/Actor.h"
37+
#ifndef SWIFT_CONCURRENCY_BACK_DEPLOYMENT
3738
#include "llvm/Config/config.h"
39+
#endif
3840
#include "llvm/ADT/PointerIntPair.h"
3941
#include "TaskPrivate.h"
4042
#include "VoucherSupport.h"

0 commit comments

Comments
 (0)