diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-16 01:52:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-16 01:52:36 +0300 |
commit | ece09fcf8eca867459c9eacd16530314fd2a6b8f (patch) | |
tree | 27682633157a328ed212e2835751a1008207ec7b | |
parent | d3678e8cc50089651040c2cfd5c89ede472a2f79 (diff) | |
download | mv-ece09fcf8eca867459c9eacd16530314fd2a6b8f.tar.gz mv-ece09fcf8eca867459c9eacd16530314fd2a6b8f.tar.bz2 mv-ece09fcf8eca867459c9eacd16530314fd2a6b8f.tar.xz mv-ece09fcf8eca867459c9eacd16530314fd2a6b8f.zip |
Fix unit tests compilation on bsd systems.
-rw-r--r-- | src/catch.hpp | 6 |
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 |