Add extern "C" to support linking userspace RCU library with C++ applications
[urcu.git] / urcu-qsbr.h
index 21c2a2e0c9bf299804c4d6a40aa31a13e41d5186..8e6f1e463a7907075e1c76d4a6df370533e0b268 100644 (file)
  */
 #include <urcu-pointer.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif 
+
 /*
  * Important !
  *
@@ -114,4 +118,8 @@ extern void synchronize_rcu(void);
 extern void rcu_register_thread(void);
 extern void rcu_unregister_thread(void);
 
+#ifdef __cplusplus 
+}
+#endif
+
 #endif /* _URCU_QSBR_H */
This page took 0.022091 seconds and 4 git commands to generate.