projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add C++ build tests
[urcu.git]
/
include
/
urcu
/
compiler.h
diff --git
a/include/urcu/compiler.h
b/include/urcu/compiler.h
index 34eb564bb77795e9e77d21983240c3327b3401d1..157346763078a3ec1d73b7c65618ed1bd98b325f 100644
(file)
--- a/
include/urcu/compiler.h
+++ b/
include/urcu/compiler.h
@@
-119,4
+119,10
@@
+ __GNUC_PATCHLEVEL__)
#endif
+#ifndef __cplusplus
+#define caa_c_transparent_union __attribute__((__transparent_union__))
+#else
+#define caa_c_transparent_union
+#endif
+
#endif /* _URCU_COMPILER_H */
This page took
0.024426 seconds
and
4
git commands to generate.