Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #314 from simgrid/smpi-args-cleanup
[simgrid.git] / include / smpi / sampi.h
index 6e8a536fd131df6b30bd87c2be3065a21dec51a0..33246d501dad1b0c5620db7ff564c1e1c326b9c0 100644 (file)
@@ -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)