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 b03baef4b5
commit 8f59fb469f
1 changed files with 3 additions and 0 deletions

View File

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