From: Nicholas Nethercote Date: Tue, 28 Jul 2009 05:11:42 +0000 (+0000) Subject: Remove non-Linux code from this Linux-only test. X-Git-Tag: svn/VALGRIND_3_5_0~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff3b5026123dacfe823e083ed5c54169b48c3778;p=thirdparty%2Fvalgrind.git Remove non-Linux code from this Linux-only test. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10646 --- diff --git a/memcheck/tests/linux/stack_changes.c b/memcheck/tests/linux/stack_changes.c index 0d7438c147..a978fc2b0f 100644 --- a/memcheck/tests/linux/stack_changes.c +++ b/memcheck/tests/linux/stack_changes.c @@ -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;