X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ebf52365999da9055076015c4d0296effd224795..869e112fd4bb47fc88e5eae3357dce84bbf7dcbb:/include/smpi/smpi_helpers.h?ds=sidebyside diff --git a/include/smpi/smpi_helpers.h b/include/smpi/smpi_helpers.h index 55efcf8090..8c47f828ea 100644 --- a/include/smpi/smpi_helpers.h +++ b/include/smpi/smpi_helpers.h @@ -32,8 +32,9 @@ #define getopt(x, y, z) smpi_getopt((x), (y), (z)) #define getopt_long(x, y, z, a, b) smpi_getopt_long((x), (y), (z), (a), (b)) #define getopt_long_only(x, y, z, a, b) smpi_getopt_long_only((x), (y), (z), (a), (b)) -#ifndef SAMPI_OVERRIDEN_MALLOC +#ifndef SMPI_NO_OVERRIDE_MALLOC #define malloc(x) smpi_shared_malloc_intercept(x, __FILE__, __LINE__) +#define calloc(x,y) smpi_shared_calloc_intercept(x,y, __FILE__, __LINE__) #define free(x) smpi_shared_free(x) #endif #endif