Cleanup: standardise include path
[lttng-ust.git] / liblttng-ust-libc-wrapper / lttng-ust-pthread.c
index a049d33595a6d367416e627461221f1c8ad8c738..1e65207f8bc007e69539e3220cca7a89f1e69d67 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#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 <helper.h>
 #include <pthread.h>
This page took 0.022823 seconds and 4 git commands to generate.