q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e557869765f04509f3d6b5fc5c04710cf2568a27

commit e557869765f04509f3d6b5fc5c04710cf2568a27
Author: Daniel Kolesa <[email protected]>
Date:   Thu Jun 11 02:18:50 2020 +0200

    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.
---
 src/lib/eina/eina_log.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index 4cd634bd72..d05aa22830 100644
--- a/src/lib/eina/eina_log.c
+++ b/src/lib/eina/eina_log.c
@@ -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"

-- 


Reply via email to