mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
preload: use #ifdef, not #if ENABLE_LIBUNWIND
This commit is contained in:
@ -62,7 +62,7 @@ G_DEFINE_CONSTRUCTOR(collector_init_ctor)
|
|||||||
static void
|
static void
|
||||||
collector_init_ctor (void)
|
collector_init_ctor (void)
|
||||||
{
|
{
|
||||||
#if ENABLE_LIBUNWIND
|
#ifdef ENABLE_LIBUNWIND
|
||||||
unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD);
|
unw_set_caching_policy (unw_local_addr_space, UNW_CACHE_PER_THREAD);
|
||||||
unw_set_cache_size (unw_local_addr_space, 1024, 0);
|
unw_set_cache_size (unw_local_addr_space, 1024, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user