Redefine functions with test hooks only for tests
Android build has issues with these defines, this will allow the build to succeed if it doesn't need to build the tests.
This commit is contained in:
committed by
Alexander Lapenkov
parent
c9ebff0fd6
commit
8daac7958f
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#undef _Unwind_Backtrace
|
||||
#include <unwind.h>
|
||||
#define _Unwind_Backtrace JEMALLOC_HOOK(_Unwind_Backtrace, test_hooks_libc_hook)
|
||||
#define _Unwind_Backtrace JEMALLOC_TEST_HOOK(_Unwind_Backtrace, test_hooks_libc_hook)
|
||||
#endif
|
||||
|
||||
/******************************************************************************/
|
||||
|
Reference in New Issue
Block a user