Lines 26-32
Link Here
|
26 |
*/ |
26 |
*/ |
27 |
|
27 |
|
28 |
/** \cond */ |
28 |
/** \cond */ |
|
|
29 |
#ifdef __GLIBC__ |
29 |
#include <execinfo.h> |
30 |
#include <execinfo.h> |
|
|
31 |
#else |
32 |
extern int backtrace (void **__array, int __size); |
33 |
extern char **backtrace_symbols (void *const *__array, int __size); |
34 |
extern void backtrace_symbols_fd (void *const *__array, int __size, int __fd); |
35 |
#endif |
30 |
#include <glib-2.0/glib.h> |
36 |
#include <glib-2.0/glib.h> |
31 |
#include <stdbool.h> |
37 |
#include <stdbool.h> |
32 |
#include <stdio.h> |
38 |
#include <stdio.h> |