X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fdlmalloc%2Fdlmalloc.c;h=183f08a59a14559d643b8514587737d0c58931d7;hp=32c3c35686d582443a7a2f3033936c7e87506207;hb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa;hpb=a18343e497615802f47e0f6876b5bed73af674e0 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