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:
Daniel Kolesa 2020-06-11 02:18:50 +02:00
parent d7f9bc7499
commit e557869765
1 changed files with 3 additions and 0 deletions

View File

@ -38,7 +38,10 @@
#endif
#include "eina_debug_private.h"
#ifdef HAVE_BACKTRACE
#define EINA_LOG_BACKTRACE
#endif
#include "eina_config.h"
#include "eina_private.h"