Fix: no LGPL define for malloc and pthread wrappers
[lttng-ust.git] / liblttng-ust-libc-wrapper / lttng-ust-malloc.c
index 4b21c971516d54ce3a5eaac80e63e660f0f14f84..5d290445026575f15de5074cb33f696be62c09c1 100644 (file)
  */
 
 #define _GNU_SOURCE
-#define _LGPL_SOURCE
+/*
+ * Do _not_ define _LGPL_SOURCE because we don't want to create a
+ * circular dependency loop between this malloc wrapper, liburcu and
+ * libc.
+ */
 #include <lttng/ust-dlfcn.h>
 #include <sys/types.h>
 #include <stdio.h>
This page took 0.023997 seconds and 4 git commands to generate.