X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e16e02338a20ee10478d01659df54ed60dea1101..9d1a9a4b871895531b7e70f313691ef75dc47a96:/include/smpi/smpi_helpers.h diff --git a/include/smpi/smpi_helpers.h b/include/smpi/smpi_helpers.h index 543f702a53..45780890a9 100644 --- a/include/smpi/smpi_helpers.h +++ b/include/smpi/smpi_helpers.h @@ -33,8 +33,8 @@ #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 -#define malloc(x) smpi_shared_malloc_intercept(x, __FILE__, __LINE__) -#define calloc(x,y) smpi_shared_calloc_intercept(x,y, __FILE__, __LINE__) +#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