]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Adapt testcase so it can be compiled with GCC 3.4.6 against glibc 2.3.4
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 26 Jul 2014 11:10:30 +0000 (11:10 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 26 Jul 2014 11:10:30 +0000 (11:10 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14193

drd/tests/thread_name.c

index f71f19fd034f7f2dacb9b2f76fbf8d6ca0d672dc..98c7bb8a3feafd3b19f576d9eae8bde8a48138f7 100644 (file)
@@ -1,6 +1,6 @@
 /* Test whether assigning names to threads works properly. */
 
-
+#define _GNU_SOURCE
 #include <pthread.h>
 #include <stddef.h>
 #include <stdio.h>