projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
list: new -> _new for c++ compatibility
[urcu.git]
/
urcu
/
uatomic_arch_sparc64.h
diff --git
a/urcu/uatomic_arch_sparc64.h
b/urcu/uatomic_arch_sparc64.h
index 622fe100e8f47627b3232acd67dbe5e27bef2e80..3aa3b7d9afb889b7f7cd8df80445148dc2dc523b 100644
(file)
--- a/
urcu/uatomic_arch_sparc64.h
+++ b/
urcu/uatomic_arch_sparc64.h
@@
-23,6
+23,10
@@
#include <urcu/compiler.h>
#include <urcu/system.h>
#include <urcu/compiler.h>
#include <urcu/system.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef __SIZEOF_LONG__
#ifdef __LP64__
#define __SIZEOF_LONG__ 8
#ifndef __SIZEOF_LONG__
#ifdef __LP64__
#define __SIZEOF_LONG__ 8
@@
-177,4
+181,8
@@
unsigned long _uatomic_add_return(void *addr, unsigned long val, int len)
#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new)
#define compat_uatomic_cmpxchg(ptr, old, _new) uatomic_cmpxchg(ptr, old, _new)
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_ARCH_UATOMIC_PPC_H */
#endif /* _URCU_ARCH_UATOMIC_PPC_H */
This page took
0.024776 seconds
and
4
git commands to generate.