Skip to content

Commit 65cd7e4

Browse files
committed
fix centos7 build (hopefully)
1 parent fd41d26 commit 65cd7e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include "version"
1+
#include "cstddef"
22

33
// C++17 and newer:
44

55
// <execution> includes tbb headers, which might not be installed.
66
// Only include <execution> if tbb is installed.
7-
#if __has_include("execution") && __has_include(<tbb/blocked_range.h>) && (_GLIBCXX_RELEASE < 11)
7+
#if __has_include("execution") && __has_include(<tbb/blocked_range.h>) && (!defined(_GLIBCXX_RELEASE) || (_GLIBCXX_RELEASE < 11))
88
#include "execution"
99
#endif

0 commit comments

Comments
 (0)