stacktrace/build/has_backtrace.cpp
2019-01-12 22:15:16 +03:00

16 lines
356 B
C++

// Copyright Antony Polukhin, 2016-2019.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <backtrace.h>
#include <unwind.h>
int main() {
backtrace_state* state = backtrace_create_state(
0, 1, 0, 0
);
(void)state;
}