00001 /* 00002 * Setup test programs so they can use Doug Lea's malloc/free implementation. 00003 * DLmalloc is useful because the malloc_stats() function can be used as 00004 * a simple leak detector. 00005 */ 00006 #ifdef DLMALLOC 00007 #define malloc dlmalloc 00008 #define free dlfree 00009 #define malloc_stats dlmalloc_stats 00010 #define USE_DL_PREFIX 1 00011 #endif