]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove non-Linux code from this Linux-only test.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 28 Jul 2009 05:11:42 +0000 (05:11 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 28 Jul 2009 05:11:42 +0000 (05:11 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10646

memcheck/tests/linux/stack_changes.c

index 0d7438c147284fad9c99c758ff14fa4cd5f9b0cc..a978fc2b0f3e1fe3b5348d3af44e6bd2b740e3fe 100644 (file)
 // 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;