forked from enlightenment/efl
meson: fix debug-threads option
it doesn't matter if this doesn't work with eina_debug since this isn't meant to be used for that kind of debugging Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D9359
This commit is contained in:
parent
8399f2698b
commit
481747ae33
|
@ -297,13 +297,10 @@ endif
|
|||
if cc.has_header_symbol(pthread_np_header_file, 'pthread_attr_setaffinity_np', args : pthread_args)
|
||||
eina_config.set('EINA_HAVE_PTHREAD_AFFINITY', '1')
|
||||
endif
|
||||
# FIXME the author of eina_debug probebly never ran with EINA_HAVE_DEBUG_THREADS
|
||||
# however eina debug decides to init that lock and never frees it. which means
|
||||
# the code in eina_main.c will not work in the way it currently is there.
|
||||
|
||||
#if debug_threads or get_option('debug-threads')
|
||||
# eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
|
||||
#endif
|
||||
if debug_threads or get_option('debug-threads')
|
||||
eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
|
||||
endif
|
||||
|
||||
eina_config.set('EINA_SIZEOF_WCHAR_T', cc.sizeof('wchar_t', prefix : '#include<wchar.h>'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue