mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 19:29:02 +08:00
Fix test macro conflicts with STL headers in C++20
This commit is contained in:
parent
2dd879d4b0
commit
35727928ad
@ -53,6 +53,13 @@
|
||||
#include <future>
|
||||
#endif
|
||||
#endif
|
||||
#if __cplusplus > 201703L
|
||||
// libstdc++ 9's <memory> indirectly uses max() via <bit>.
|
||||
// libstdc++ 10's <memory> indirectly uses max() via ranges headers.
|
||||
#include <memory>
|
||||
// libstdc++ 11's <thread> indirectly uses max() via semaphore headers.
|
||||
#include <thread>
|
||||
#endif
|
||||
|
||||
// Configure GPU.
|
||||
#if defined(EIGEN_USE_HIP)
|
||||
|
Loading…
x
Reference in New Issue
Block a user