1
0
Fork 0
forked from lthn/blockchain

disabled call stack extracting for android

This commit is contained in:
cryptozoidberg 2020-02-18 08:15:18 +01:00
parent 89b15a9dc2
commit 51eb479000
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -109,14 +109,15 @@ namespace misc_utils
#endif
}
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(__ANDROID__)
#include <execinfo.h>
#include <boost/core/demangle.hpp>
#endif
inline std::string print_trace_default()
{
std::stringstream ss;
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(__ANDROID__)
ss << std::endl << "STACK" << std::endl;
const size_t max_depth = 100;
size_t stack_depth;