A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define and use _XBT_STRINGIFY and _XBT_CONCAT{,2,3,4}.
[simgrid.git]
/
include
/
smpi
/
sampi.h
diff --git
a/include/smpi/sampi.h
b/include/smpi/sampi.h
index
03155b4
..
a8923b1
100644
(file)
--- a/
include/smpi/sampi.h
+++ b/
include/smpi/sampi.h
@@
-10,8
+10,8
@@
#include <smpi/smpi.h>
#define AMPI_CALL(type, name, args) \
#include <smpi/smpi.h>
#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)
#ifndef HAVE_SMPI
// Internally disable these overrides (HAVE_SMPI is only defined when building the library)