X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1830ec873b286ded8981e8fb3327715d1e6a737f..5bd175db106a40f35d99c26bb77276b29343646d:/include/smpi/sampi.h diff --git a/include/smpi/sampi.h b/include/smpi/sampi.h index 03155b47e2..a8923b1ab0 100644 --- a/include/smpi/sampi.h +++ b/include/smpi/sampi.h @@ -10,8 +10,8 @@ #include #define AMPI_CALL(type, name, args) \ - type A##name args __attribute__((weak)); \ - type AP##name args; + type _XBT_CONCAT(A, name) args __attribute__((weak)); \ + type _XBT_CONCAT(AP, name) args; #ifndef HAVE_SMPI // Internally disable these overrides (HAVE_SMPI is only defined when building the library)