forked from enlightenment/efl
eina: only enable EINA_LOG_BACKTRACE when backtrace API is present
This prevents build breakage on platforms that either don't have backtrace() or don't have the appropriate library for it installed.
This commit is contained in:
parent
d7f9bc7499
commit
e557869765
|
@ -38,7 +38,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "eina_debug_private.h"
|
#include "eina_debug_private.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_BACKTRACE
|
||||||
#define EINA_LOG_BACKTRACE
|
#define EINA_LOG_BACKTRACE
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "eina_config.h"
|
#include "eina_config.h"
|
||||||
#include "eina_private.h"
|
#include "eina_private.h"
|
||||||
|
|
Loading…
Reference in New Issue