From: Augustin Degomme Date: Sun, 1 Dec 2019 21:22:27 +0000 (+0100) Subject: oops, this bit wasn't meant to be reverted. X-Git-Tag: v3.25~344 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5172762dd6179888785802fc62cf394842620cd4?hp=869e112fd4bb47fc88e5eae3357dce84bbf7dcbb;ds=sidebyside oops, this bit wasn't meant to be reverted. --- diff --git a/include/smpi/smpi_helpers.h b/include/smpi/smpi_helpers.h index 8c47f828ea..5772c93737 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 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 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