mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
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:
parent
c9ebff0fd6
commit
8daac7958f
3 changed files with 16 additions and 11 deletions
|
|
@ -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
|
||||
|
||||
/******************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue