From eeef426b8399ad39dfc759352a6e7b0348a047d1 Mon Sep 17 00:00:00 2001 From: rpj Date: Fri, 5 Jan 2007 01:19:56 +0000 Subject: Added more Win64 support --- tests/context1.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tests/context1.c') diff --git a/tests/context1.c b/tests/context1.c index 090df9c..e63dbec 100644 --- a/tests/context1.c +++ b/tests/context1.c @@ -75,6 +75,7 @@ #include "test.h" #include "../implement.h" +#include "../context.h" static int washere = 0; @@ -122,10 +123,7 @@ main() context.ContextFlags = CONTEXT_CONTROL; GetThreadContext(hThread, &context); - /* - *_x86 only!!! - */ - context.Eip = (DWORD) anotherEnding; + PTW32_PROGCTR (context) = (DWORD_PTR) anotherEnding; SetThreadContext(hThread, &context); ResumeThread(hThread); } -- cgit v1.2.3