From 54ef500660da1f4e8d4e14e737fa81c4c881ac0a Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 6 Jun 2000 18:07:38 +0000 Subject: [PATCH] Turn on ISC_MEM_DEBUG by default and define isc_mem_debugging as an extern defaulting to ISC_FALSE. --- lib/isc/include/isc/mem.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/isc/include/isc/mem.h b/lib/isc/include/isc/mem.h index 37f0698a22..195ae2820c 100644 --- a/lib/isc/include/isc/mem.h +++ b/lib/isc/include/isc/mem.h @@ -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__)