mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
memcheck/tests: Use ucontext_t instead of struct ucontext
glibc 2.26 does not expose struct ucontext anymore. Signed-off-by: Khem Raj <raj.khem@gmail.com> git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16457
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// This test is checking the libc context calls (setcontext, etc.) and
|
||||
// checks that Valgrind notices their stack changes properly.
|
||||
|
||||
typedef struct ucontext mycontext;
|
||||
typedef ucontext_t mycontext;
|
||||
|
||||
mycontext ctx1, ctx2, oldc;
|
||||
int count;
|
||||
|
||||
Reference in New Issue
Block a user