ifdef C, wait-free stack adaptative pop wait
[urcu.git] / urcu / rculfstack.h
index 48f6297eb5213dd82234b0a0e8bdd86d548d8a9c..f80c7fea012a6e6240bf2ee04ee54f557966a4ff 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _URCU_RCULFSTACK_H
+#define _URCU_RCULFSTACK_H
+
 /*
  * rculfstack.h
  *
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE))
 #error "Dynamic loader LGPL wrappers not implemented yet"
 #endif
@@ -95,3 +102,9 @@ rcu_lfs_pop(struct rcu_lfs_stack *s)
                }
        }
 }
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _URCU_RCULFSTACK_H */
This page took 0.02282 seconds and 4 git commands to generate.