projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add extern "C" to support linking userspace RCU library with C++ applications
[userspace-rcu.git]
/
urcu
/
arch_sparc64.h
diff --git
a/urcu/arch_sparc64.h
b/urcu/arch_sparc64.h
index a260e3a39abb29b94124cf838dd137a9be234849..6dcb90810f75874e35dc3f63db93b17d7a8bf027 100644
(file)
--- a/
urcu/arch_sparc64.h
+++ b/
urcu/arch_sparc64.h
@@
-25,6
+25,10
@@
#include <urcu/compiler.h>
#include <urcu/config.h>
#include <urcu/compiler.h>
#include <urcu/config.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define CONFIG_HAVE_MEM_COHERENCY
#define CACHE_LINE_SIZE 256
#define CONFIG_HAVE_MEM_COHERENCY
#define CACHE_LINE_SIZE 256
@@
-100,4
+104,8
@@
static inline cycles_t get_cycles (void)
return 0; /* unimplemented */
}
return 0; /* unimplemented */
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_ARCH_SPARC64_H */
#endif /* _URCU_ARCH_SPARC64_H */
This page took
0.025208 seconds
and
4
git commands to generate.