correct preprocessor logic for non-Linux machines
This commit is contained in:
@ -653,7 +653,7 @@ static constexpr bool kokkos_omp_on_host() { return false; }
|
|||||||
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
|
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
|
||||||
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
|
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
|
||||||
!defined(_WIN32)
|
!defined(_WIN32)
|
||||||
#if (defined(__linux__) && defined(__GLIBC_MINOR__))
|
#if (!defined(__linux__) || defined(__GLIBC_MINOR__))
|
||||||
#define KOKKOS_IMPL_ENABLE_STACKTRACE
|
#define KOKKOS_IMPL_ENABLE_STACKTRACE
|
||||||
#endif
|
#endif
|
||||||
#define KOKKOS_IMPL_ENABLE_CXXABI
|
#define KOKKOS_IMPL_ENABLE_CXXABI
|
||||||
|
|||||||
Reference in New Issue
Block a user