From: Nicholas Nethercote Date: Mon, 14 Nov 2005 15:35:20 +0000 (+0000) Subject: Make this test compile on my machine. X-Git-Tag: svn/VALGRIND_3_1_0~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2cfef08f2b08916e539f76e655c5acf09dbb0a0e;p=thirdparty%2Fvalgrind.git Make this test compile on my machine. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5128 --- diff --git a/memcheck/tests/stack_switch.c b/memcheck/tests/stack_switch.c index 97919f7d2f..03e86cc3e2 100644 --- a/memcheck/tests/stack_switch.c +++ b/memcheck/tests/stack_switch.c @@ -14,6 +14,10 @@ #define STACK_SIZE 8192 +#ifndef CLONE_THREAD +#define CLONE_THREAD 0x00010000 /* Same thread group? */ +#endif + static int thread_main(void *arg) { char buffer[1024];