From cc0846f967f268764bff280f64d5cb47b716d796 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 20 Dec 2001 04:01:44 +0000 Subject: Add --enable-dmalloc to link against the dmalloc malloc debugger. It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906) --- source3/include/includes.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 3b2b1db877..92ac462e1b 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -975,6 +975,13 @@ int vasprintf(char **ptr, const char *format, va_list ap); #include #endif +/* dmalloc -- free heap debugger (dmalloc.org). This should be near + * the *bottom* of include files so as not to conflict. */ +#ifdef DMALLOC +# include +#endif + + /* Some POSIX definitions for those without */ #ifndef S_IFDIR -- cgit