Author: tkreuzer
Date: Fri Jun 25 01:37:58 2010
New Revision: 47844
URL:
http://svn.reactos.org/svn/reactos?rev=47844&view=rev
Log:
[SUSPEND]
Fix compilation for amd64
Modified:
trunk/rostests/tests/suspend/suspend.c
Modified: trunk/rostests/tests/suspend/suspend.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/tests/suspend/suspend.c?r…
==============================================================================
--- trunk/rostests/tests/suspend/suspend.c [iso-8859-1] (original)
+++ trunk/rostests/tests/suspend/suspend.c [iso-8859-1] Fri Jun 25 01:37:58 2010
@@ -62,7 +62,11 @@
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);
}