From: Timo Kreuzer Date: Fri, 25 Jun 2010 01:37:58 +0000 (+0000) Subject: [SUSPEND] X-Git-Tag: backups/Ash_Shell@48412~1^2~409 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=c3b4cac97a5d9ab7cbc4d017d3e5237bd9b0f8ef [SUSPEND] Fix compilation for amd64 svn path=/trunk/; revision=47844 --- diff --git a/rostests/tests/suspend/suspend.c b/rostests/tests/suspend/suspend.c index 93b9a833dca..25cc38b0122 100644 --- a/rostests/tests/suspend/suspend.c +++ b/rostests/tests/suspend/suspend.c @@ -62,7 +62,11 @@ main(int argc, char *argv[]) Sleep(100);x++; if(x>100 && GetThreadContext(thread, &context)) { +#if defined(_M_IX86) printf("EIP: %lx\n", context.Eip); +#elif defined(_M_AMD64) + printf("RIP: %p\n", context.Rip); +#endif printf("Calling resumethread ... \n"); ResumeThread(thread); }