Add extern "C" to support linking userspace RCU library with C++ applications
[urcu.git] / urcu / arch_s390.h
index 9d3d452b961b3dd3e74a99147a2b6012688685d0..b400376a30089ffa936ad104dca88568cb3f901d 100644 (file)
 #include <compiler.h>
 #include <urcu/config.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif 
+
 #define CONFIG_HAVE_MEM_COHERENCY
 
 #define CACHE_LINE_SIZE        128
@@ -94,4 +98,8 @@ static inline cycles_t get_cycles (void)
        return cycles;
 }
 
+#ifdef __cplusplus 
+}
+#endif
+
 #endif /* _URCU_ARCH_S390_H */
This page took 0.022976 seconds and 4 git commands to generate.