termux-packages/packages/libkokkos/core-src-Kokkos_Macros.hpp....

13 lines
401 B
Diff
Raw Permalink Normal View History

2022-01-30 14:07:05 +01:00
--- a/core/src/Kokkos_Macros.hpp
+++ b/core/src/Kokkos_Macros.hpp
@@ -576,7 +576,9 @@
#if (defined(KOKKOS_COMPILER_GNU) || defined(KOKKOS_COMPILER_CLANG) || \
defined(KOKKOS_COMPILER_INTEL) || defined(KOKKOS_COMPILER_PGI)) && \
!defined(_WIN32)
+#if !defined __ANDROID__ || __ANDROID_API__ >= 33
#define KOKKOS_IMPL_ENABLE_STACKTRACE
+#endif
#define KOKKOS_IMPL_ENABLE_CXXABI
#endif