From ece09fcf8eca867459c9eacd16530314fd2a6b8f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 16 Mar 2017 01:52:36 +0300 Subject: Fix unit tests compilation on bsd systems. --- src/catch.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 // stack -#ifndef ANDROID -#if defined __linux__ || defined __linux +#ifdef HAVE_EXECINFO #include -#endif // defined __linux__ || defined __linux -#endif // ANDROID +#endif // HAVE_EXECINFO // stack // #included from: catch_compiler_capabilities.h -- cgit v1.2.3-70-g09d2