mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This fixes the Swift LSAN CI job Linux (https://ci.swift.org/job/oss-swift-RA-lsan-linux-ubuntu-18_04/) that started failing after https://github.com/apple/swift/pull/65398. rdar://108674065
8 lines
236 B
C
8 lines
236 B
C
// C++17 and newer:
|
|
|
|
// <execution> includes tbb headers, which might not be installed.
|
|
// Only include <execution> if tbb is installed.
|
|
#if __has_include("execution") && __has_include(<tbb/blocked_range.h>)
|
|
#include "execution"
|
|
#endif
|