X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/29a3b2869c0075fc75e8ccc66fc1d9c4c8bf6a85..4c5b0cb8d6a49c0a868925de9678257a3cd0f041:/include/smpi/sampi.h diff --git a/include/smpi/sampi.h b/include/smpi/sampi.h index 6e8a536fd1..03155b47e2 100644 --- a/include/smpi/sampi.h +++ b/include/smpi/sampi.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-2019. 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. */ @@ -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)