Skip to content

Commit be2d00b

Browse files
authored
Merge pull request swiftlang#39407 from DougGregor/concurrency-back-deploy-no-llvm-config
2 parents 0bcd012 + aad7ad0 commit be2d00b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,14 @@
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+
#else
40+
// All platforms where we care about back deployment have a known
41+
// configurations.
42+
#define HAVE_PTHREAD_H 1
43+
#define SWIFT_OBJC_INTEROP 1
44+
#endif
3845
#include "llvm/ADT/PointerIntPair.h"
3946
#include "TaskPrivate.h"
4047
#include "VoucherSupport.h"

0 commit comments

Comments
 (0)