diff options
Diffstat (limited to 'examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h')
-rw-r--r-- | examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h b/examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h index b436dfad3..0edf97f3a 100644 --- a/examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h +++ b/examples/ThirdPartyLibs/Eigen/src/Core/util/Macros.h @@ -193,9 +193,15 @@ #define EIGEN_COMP_EMSCRIPTEN 0 #endif +/// \internal EIGEN_COMP_LCC set to 1 if the compiler is MCST-LCC (MCST eLbrus Compiler Collection) +#if defined(__LCC__) && defined(__MCST__) + #define EIGEN_COMP_LCC (__LCC__*100+__LCC_MINOR__) +#else + #define EIGEN_COMP_LCC 0 +#endif /// \internal EIGEN_GNUC_STRICT set to 1 if the compiler is really GCC and not a compatible compiler (e.g., ICC, clang, mingw, etc.) -#if EIGEN_COMP_GNUC && !(EIGEN_COMP_CLANG || EIGEN_COMP_ICC || EIGEN_COMP_MINGW || EIGEN_COMP_PGI || EIGEN_COMP_IBM || EIGEN_COMP_ARM || EIGEN_COMP_EMSCRIPTEN) +#if EIGEN_COMP_GNUC && !(EIGEN_COMP_CLANG || EIGEN_COMP_ICC || EIGEN_COMP_MINGW || EIGEN_COMP_PGI || EIGEN_COMP_IBM || EIGEN_COMP_ARM || EIGEN_COMP_EMSCRIPTEN || EIGEN_COMP_LCC) #define EIGEN_COMP_GNUC_STRICT 1 #else #define EIGEN_COMP_GNUC_STRICT 0 |