X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f16d385ad7e6856e3a3f75729d2afda9d4648d44..fceda039b34654131e18f190e2c7e32db112ef21:/include/smpi/sampi.h diff --git a/include/smpi/sampi.h b/include/smpi/sampi.h index 33246d501d..a8923b1ab0 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. */ @@ -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)