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
b03baef4b5
commit
8f59fb469f
|
@ -42,7 +42,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