X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dd96d5146134f3ff468a7835db49556c8e6225a5..cbd8dae6d524fc62b0fb5fcf7b2604e98f953615:/include/smpi/sampi.h diff --git a/include/smpi/sampi.h b/include/smpi/sampi.h index 6e8a536fd1..33246d501d 100644 --- a/include/smpi/sampi.h +++ b/include/smpi/sampi.h @@ -14,6 +14,7 @@ type AP##name args; #ifndef HAVE_SMPI +// Internally disable these overrides (HAVE_SMPI is only defined when building the library) #define malloc(nbytes) _sampi_malloc(nbytes) #define calloc(n_elm,elm_size) _sampi_calloc(n_elm,elm_size) #define realloc(ptr,nbytes) _sampi_realloc(ptr,nbytes)