correct preprocessor logic for non-Linux machines

This commit is contained in:
Axel Kohlmeyer
2023-02-08 16:45:16 -05:00
parent 0ae72ce36d
commit 09099dd29f

View File

@ -653,7 +653,7 @@ static constexpr bool kokkos_omp_on_host() { return false; }
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
!defined(_WIN32)
#if (defined(__linux__) && defined(__GLIBC_MINOR__))
#if (!defined(__linux__) || defined(__GLIBC_MINOR__))
#define KOKKOS_IMPL_ENABLE_STACKTRACE
#endif
#define KOKKOS_IMPL_ENABLE_CXXABI