projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: Move ARM specific code to urcu/arch/arm.h
[urcu.git]
/
include
/
urcu
/
flavor.h
diff --git
a/include/urcu/flavor.h
b/include/urcu/flavor.h
index d2d19f6c80df002439bfc6f8331c82b4126bee09..93da38f7d449c42107ef65a09a6c909f6e75926f 100644
(file)
--- a/
include/urcu/flavor.h
+++ b/
include/urcu/flavor.h
@@
-79,9
+79,13
@@
const struct rcu_flavor_struct x = { \
}
#define DEFINE_RCU_FLAVOR_ALIAS(x, y) _DEFINE_RCU_FLAVOR_ALIAS(x, y)
}
#define DEFINE_RCU_FLAVOR_ALIAS(x, y) _DEFINE_RCU_FLAVOR_ALIAS(x, y)
+#ifdef __APPLE__
+#define _DEFINE_RCU_FLAVOR_ALIAS(x, y)
+#else
#define _DEFINE_RCU_FLAVOR_ALIAS(x, y) \
__attribute__((alias(#x))) \
extern const struct rcu_flavor_struct y;
#define _DEFINE_RCU_FLAVOR_ALIAS(x, y) \
__attribute__((alias(#x))) \
extern const struct rcu_flavor_struct y;
+#endif
extern const struct rcu_flavor_struct rcu_flavor;
extern const struct rcu_flavor_struct rcu_flavor;
This page took
0.042424 seconds
and
4
git commands to generate.