diff options
Diffstat (limited to 'unsupported/Eigen/CXX11/ThreadPool')
-rw-r--r-- | unsupported/Eigen/CXX11/ThreadPool | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/ThreadPool b/unsupported/Eigen/CXX11/ThreadPool index 12aa07c7f..64ea83b7e 100644 --- a/unsupported/Eigen/CXX11/ThreadPool +++ b/unsupported/Eigen/CXX11/ThreadPool @@ -49,7 +49,9 @@ // which trigger a check in test/main.h causing compilation to fail. // We work around the check here by removing the check for max in // the case where we have to emulate thread_local. +#ifdef max #undef max +#endif #include <unordered_map> #endif |