|
From: <sv...@va...> - 2009-07-28 05:11:53
|
Author: njn Date: 2009-07-28 06:11:42 +0100 (Tue, 28 Jul 2009) New Revision: 10646 Log: Remove non-Linux code from this Linux-only test. Modified: trunk/memcheck/tests/linux/stack_changes.c Modified: trunk/memcheck/tests/linux/stack_changes.c =================================================================== --- trunk/memcheck/tests/linux/stack_changes.c 2009-07-28 05:10:33 UTC (rev 10645) +++ trunk/memcheck/tests/linux/stack_changes.c 2009-07-28 05:11:42 UTC (rev 10646) @@ -10,11 +10,7 @@ // This test is checking the libc context calls (setcontext, etc.) and // checks that Valgrind notices their stack changes properly. -#if defined(_AIX) || defined(__APPLE__) -typedef ucontext_t mycontext; -#else /* linux */ typedef struct ucontext mycontext; -#endif mycontext ctx1, ctx2, oldc; int count; |