X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6988262ccbe9e70f68f5649ca8a665171d454326..85b6c08c26f9da9041c315d3e9cbd4f20f8db9ff:/include/smpi/smpi_helpers.h diff --git a/include/smpi/smpi_helpers.h b/include/smpi/smpi_helpers.h index 1f0067d053..ef7492d998 100644 --- a/include/smpi/smpi_helpers.h +++ b/include/smpi/smpi_helpers.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2018-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2018-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -35,6 +35,7 @@ #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 realloc(x, y) smpi_shared_realloc_intercept((x), (y), __FILE__, __LINE__) #define free(x) smpi_shared_free(x) #endif #endif