Skip to content

Commit aad7ad0

Browse files
committed
Make sure we set configuration in back-deployed concurrency libraries.
1 parent 4c9fb28 commit aad7ad0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
#include "swift/ABI/Actor.h"
3737
#ifndef SWIFT_CONCURRENCY_BACK_DEPLOYMENT
3838
#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
3944
#endif
4045
#include "llvm/ADT/PointerIntPair.h"
4146
#include "TaskPrivate.h"

0 commit comments

Comments
 (0)