We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14b8ab6 + 65cd7e4 commit 915b531Copy full SHA for 915b531
stdlib/public/Cxx/libstdcxx/libstdcxx.h
@@ -1,7 +1,9 @@
1
+#include "cstddef"
2
+
3
// C++17 and newer:
4
5
// <execution> includes tbb headers, which might not be installed.
6
// Only include <execution> if tbb is installed.
-#if __has_include("execution") && __has_include(<tbb/blocked_range.h>)
7
+#if __has_include("execution") && __has_include(<tbb/blocked_range.h>) && (!defined(_GLIBCXX_RELEASE) || (_GLIBCXX_RELEASE < 11))
8
#include "execution"
9
#endif
0 commit comments