]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Merge r13704 from 3_9_BRANCH (Fix compile problem in
authorJulian Seward <jseward@acm.org>
Fri, 29 Nov 2013 16:57:29 +0000 (16:57 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 29 Nov 2013 16:57:29 +0000 (16:57 +0000)
memcheck/tests/reach_thread_register.c)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13723

memcheck/tests/Makefile.am
memcheck/tests/reach_thread_register.c

index 5de1960ca1d0c2a3458b26f7e88035deb6af756f..610cee00d2a0d0bf8dffcd2ad54b9ed595051975 100644 (file)
@@ -318,7 +318,6 @@ check_PROGRAMS = \
        partial_load pdb-realloc pdb-realloc2 \
        pipe pointer-trace \
        post-syscall \
-       reach_thread_register \
        realloc1 realloc2 realloc3 \
        recursive-merge \
        sbfragment \
@@ -353,6 +352,10 @@ if HAVE_PTHREAD_SETNAME_NP
 check_PROGRAMS += threadname 
 endif
 
+if HAVE_PTHREAD_BARRIER
+check_PROGRAMS += reach_thread_register
+endif
+
 if HAVE_GSTABS
 check_PROGRAMS += deep_templates
 endif
index 816c1239e90596e8803b189454172a25c04ffbe0..b70d7e1883869deb4682c8a8ec2b0a73b4d5930c 100644 (file)
@@ -1,3 +1,5 @@
+#define _GNU_SOURCE 
+
 #include <pthread.h>
 #include <sched.h>
 #include <stdio.h>