]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make this test compile on my machine.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 14 Nov 2005 15:35:20 +0000 (15:35 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 14 Nov 2005 15:35:20 +0000 (15:35 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5128

memcheck/tests/stack_switch.c

index 97919f7d2f6e477fdb74bcaa4488dc7f3134229c..03e86cc3e248f5c4afcacc0f9c35f98b2b486221 100644 (file)
 
 #define STACK_SIZE 8192
 
+#ifndef CLONE_THREAD
+#define CLONE_THREAD   0x00010000      /* Same thread group? */
+#endif
+
 static int thread_main(void *arg)
 {
    char buffer[1024];