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
Avoid duplicate declaration.
[simgrid.git]
/
include
/
xbt
/
base.h
diff --git
a/include/xbt/base.h
b/include/xbt/base.h
index
6f4c6b6
..
5b55cb7
100644
(file)
--- a/
include/xbt/base.h
+++ b/
include/xbt/base.h
@@
-64,12
+64,10
@@
# define XBT_ATTRIB_DESTRUCTOR(prio) __attribute__((__destructor__))
#endif
# define XBT_ATTRIB_DESTRUCTOR(prio) __attribute__((__destructor__))
#endif
-#ifndef XBT_ALWAYS_INLINE /* defined also in libsosp */
-# if defined(__GNUC__)
-# define XBT_ALWAYS_INLINE inline __attribute__ ((always_inline))
-# else
-# define XBT_ALWAYS_INLINE inline
-# endif
+#if defined(__GNUC__)
+#define XBT_ALWAYS_INLINE inline __attribute__((always_inline))
+#else
+#define XBT_ALWAYS_INLINE inline
#endif
/* Stringify argument. */
#endif
/* Stringify argument. */