common: compile libconsumer, libust-consumer, libkernel-consumer as C++
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.h
index e2507a7f441da932809adb3220e22bb803e9ec32..29ae853daa54d90fb8f2a008f0a84aeda94aeb64 100644 (file)
 #include <common/consumer/consumer.h>
 #include <stdbool.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #ifdef HAVE_LIBLTTNG_UST_CTL
 
 int lttng_ustconsumer_take_snapshot(struct lttng_consumer_stream *stream);
@@ -240,4 +244,8 @@ void lttng_ustconsumer_sigbus_handle(void *addr)
 }
 #endif /* HAVE_LIBLTTNG_UST_CTL */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _LTTNG_USTCONSUMER_H */
This page took 0.023306 seconds and 4 git commands to generate.