X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-procname.c;h=4b8da28f255aa56d74fe87c67f12cdd214680782;hb=553bbf7f38652084ed7966c7817b8ccb372b14e1;hp=13461a6878fded8e47bf10c902b054940d4c4c16;hpb=53569322d40ed45abe0368ddb08eb4a2738afc37;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-procname.c b/liblttng-ust/lttng-context-procname.c index 13461a68..4b8da28f 100644 --- a/liblttng-ust/lttng-context-procname.c +++ b/liblttng-ust/lttng-context-procname.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _LGPL_SOURCE #include #include #include @@ -37,7 +38,7 @@ * thread. */ typedef char procname_array[17]; -static DEFINE_URCU_TLS(procname_array, cached_procname); +static DEFINE_URCU_TLS_IE(procname_array, cached_procname); static inline char *wrapper_getprocname(void)