mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-21 06:09:13 -04:00
Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern
defaulting to ISC_FALSE.
This commit is contained in:
parent
4c050ce9dc
commit
54ef500660
1 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,9 @@ ISC_LANG_BEGINDECLS
|
|||
typedef void * (*isc_memalloc_t)(void *, size_t);
|
||||
typedef void (*isc_memfree_t)(void *, void *);
|
||||
|
||||
#define ISC_MEM_DEBUG
|
||||
extern isc_boolean_t isc_mem_debugging;
|
||||
|
||||
#ifdef ISC_MEM_DEBUG
|
||||
#define isc_mem_get(c, s) isc__mem_getdebug(c, s, __FILE__, __LINE__)
|
||||
#define isc_mem_put(c, p, s) isc__mem_putdebug(c, p, s, __FILE__, __LINE__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue