Define GET_IP for x86_64.

This commit is contained in:
Alexandre Julliard 2005-09-08 19:17:04 +00:00
parent ee7d27a7bf
commit c7d649483b
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ static RTL_CRITICAL_SECTION vectored_handlers_section = { &critsect_debug, -1, 0
# define GET_IP(context) ((LPVOID)(context)->Iar)
#elif defined(__ALPHA__)
# define GET_IP(context) ((LPVOID)(context)->Fir)
#elif defined(__x86_64__)
# define GET_IP(context) ((LPVOID)(context)->Rip)
#else
# error You must define GET_IP for this CPU
#endif