]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix (old-compiler-specific?) compile problem in
authorJulian Seward <jseward@acm.org>
Mon, 28 Oct 2013 10:57:29 +0000 (10:57 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 28 Oct 2013 10:57:29 +0000 (10:57 +0000)
memcheck/tests/reach_thread_register.c.  (Florian Krohm)

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_9_BRANCH@13704

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

index 6753dcb84f343f015cf79968dedaf9c443743e0e..57b4e8538f48c06166813df7edbf9f8aece02435 100644 (file)
@@ -319,7 +319,6 @@ check_PROGRAMS = \
        partial_load pdb-realloc pdb-realloc2 \
        pipe pointer-trace \
        post-syscall \
-       reach_thread_register \
        realloc1 realloc2 realloc3 \
        recursive-merge \
        sbfragment \
@@ -354,6 +353,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>