diff options
Diffstat (limited to 'science/afni/files/patch-prf__common__circular.c')
-rw-r--r-- | science/afni/files/patch-prf__common__circular.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/science/afni/files/patch-prf__common__circular.c b/science/afni/files/patch-prf__common__circular.c deleted file mode 100644 index cfcaf2d3f01d..000000000000 --- a/science/afni/files/patch-prf__common__circular.c +++ /dev/null @@ -1,18 +0,0 @@ ---- prf_common_circular.c.orig 2019-05-10 21:23:56 UTC -+++ prf_common_circular.c -@@ -318,8 +318,14 @@ static int show_malloc_stats(char * mesg) - - if( show_stats ) { - fprintf(stderr,"\n----- malloc stats: %s\n", mesg); --#ifndef DARWIN -+#if defined(__linux__) - malloc_stats(); -+#elif defined(__FreeBSD__) -+ #include <stdlib.h> -+ #include <malloc_np.h> -+ malloc_stats_print(NULL, NULL, "g"); -+#else -+ fprintf(stderr, "No malloc_stats() on this platform.\n"); - #endif - } - |