mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
src/system/stacktrace.cpp: Use dummy function for print_stacktrace()...
... and install_crash_handler() if HAVE_BACKTRACE is not defined
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8340534ee4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2017-03-13 (Mon, 13 Mar 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -176,5 +176,14 @@ void install_crash_handler()
|
|||||||
void *trace[16];
|
void *trace[16];
|
||||||
backtrace(trace, 16);
|
backtrace(trace, 16);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63)
|
||||||
|
{
|
||||||
|
(void) out;
|
||||||
|
(void) max_frames;
|
||||||
|
}
|
||||||
|
|
||||||
|
void install_crash_handler()
|
||||||
|
{
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user