Summary: fix compilation on systems where backtrace() in execinfo.h is not available
Test Plan: compilation on Windows
Reviewers: zmike, cedric, raster
Reviewed By: cedric, raster
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9392
endif
if debug_threads or get_option('debug-threads')
- eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
+ if cc.has_header_symbol('execinfo.h', 'backtrace')
+ eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
+ endif
endif
eina_config.set('EINA_SIZEOF_WCHAR_T', cc.sizeof('wchar_t', prefix : '#include<wchar.h>'))