summaryrefslogtreecommitdiff
path: root/src/catch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/catch.hpp')
-rw-r--r--src/catch.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/catch.hpp b/src/catch.hpp
index 07ffcc7b1..64d1cafc4 100644
--- a/src/catch.hpp
+++ b/src/catch.hpp
@@ -76,11 +76,9 @@
#include <algorithm>
// stack
-#ifndef ANDROID
-#if defined __linux__ || defined __linux
+#ifdef HAVE_EXECINFO
#include <execinfo.h>
-#endif // defined __linux__ || defined __linux
-#endif // ANDROID
+#endif // HAVE_EXECINFO
// stack
// #included from: catch_compiler_capabilities.h