mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
315 B
C
10 lines
315 B
C
#include "cstddef"
|
|
|
|
// 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>) && (!defined(_GLIBCXX_RELEASE) || (_GLIBCXX_RELEASE < 11))
|
|
#include "execution"
|
|
#endif
|