Skip to content

Commit da46c1b

Browse files
committed
ClangImporter: Bump libpthread SDK Epoch to 1
rdar://problem/25989127
1 parent 949d9b6 commit da46c1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@ getNormalInvocationArguments(std::vector<std::string> &invocationArgStrs,
367367

368368
// Request new APIs from libdispatch.
369369
"-DSWIFT_SDK_OVERLAY_DISPATCH_EPOCH=0",
370+
371+
// Request new APIs from libpthread
372+
"-DSWIFT_SDK_OVERLAY_PTHREAD_EPOCH=1",
370373
});
371374

372375
// Get the version of this compiler and pass it to

0 commit comments

Comments
 (0)