bin: compile lttng-sessiond as C++
[lttng-tools.git] / src / common / defaults.h
index 39b77470d68a4aa294858205cc7b365349f055c7..95b1dc29ba16fa5c87df7d00f798eec68ccc1a85 100644 (file)
 #include <pthread.h>
 #include <common/macros.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Default unix group name for tracing. */
 #define DEFAULT_TRACING_GROUP                   "tracing"
 
@@ -424,4 +428,8 @@ size_t default_get_ust_uid_channel_subbuf_size(void);
  */
 pthread_attr_t *default_pthread_attr(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _DEFAULTS_H */
This page took 0.0236 seconds and 4 git commands to generate.