Save UESP instead of ESP where UESP defined.

This commit is contained in:
Robert Lunnon 2004-01-16 02:00:24 +00:00 committed by Alexandre Julliard
parent d0d8b5bfb1
commit 93be53744e
1 changed files with 3 additions and 1 deletions

View File

@ -361,7 +361,9 @@ typedef struct
#define EFL_sig(context) ((context)->uc_mcontext.gregs[EFL])
#define EIP_sig(context) ((context)->uc_mcontext.gregs[EIP])
#ifdef R_ESP
#ifdef UESP
#define ESP_sig(context) ((context)->uc_mcontext.gregs[UESP])
#elif defined(R_ESP)
#define ESP_sig(context) ((context)->uc_mcontext.gregs[R_ESP])
#else
#define ESP_sig(context) ((context)->uc_mcontext.gregs[ESP])