X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fdlmalloc%2Fdlmalloc.c;h=183f08a59a14559d643b8514587737d0c58931d7;hb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;hp=32c3c35686d582443a7a2f3033936c7e87506207;hpb=a38d56a6a13dbb89022b5448d2d5247f3f99ea41;p=pdclib.old diff --git a/opt/dlmalloc/dlmalloc.c b/opt/dlmalloc/dlmalloc.c index 32c3c35..183f08a 100644 --- a/opt/dlmalloc/dlmalloc.c +++ b/opt/dlmalloc/dlmalloc.c @@ -516,6 +516,7 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP improvement at the expense of carrying around more memory. */ +#ifndef REGTEST #include "dlmalloc.h" /* Version identifier to allow people to support multiple versions */ @@ -6251,3 +6252,15 @@ History: structure of old version, but most details differ.) */ +#endif + +#ifdef TEST +#include <_PDCLIB_test.h> + +/* TODO: TEST ME */ +int main( void ) +{ + return TEST_RESULTS; +} + +#endif \ No newline at end of file