Commit 3742d77f authored by Alexandre Julliard's avatar Alexandre Julliard

Fixes for non-i386 compiling.

parent 1ed4ecff
......@@ -145,7 +145,7 @@ static inline EXCEPTION_FRAME *EXC_push_frame( EXCEPTION_FRAME *frame )
: "=&r" (prev) : "r" (frame) : "memory" );
return prev;
#else
TEB * teb = CURRENT();
TEB *teb = NtCurrentTeb();
frame->Prev = teb->except;
teb->except = frame;
return frame->Prev;
......@@ -160,7 +160,7 @@ static inline EXCEPTION_FRAME *EXC_pop_frame( EXCEPTION_FRAME *frame )
return frame->Prev;
#else
CURRENT()->except = frame->Prev;
NtCurrentTeb()->except = frame->Prev;
return frame->Prev;
#endif
}
......
......@@ -305,6 +305,6 @@ void WINAPI REGS_FUNC(RELAY_CallFrom32Regs)( CONTEXT *context )
#else /* __i386__ */
REGS_ENTRYPOINT(RELAY_CallFrom32Regs) { }
void WINAPI REGS_FUNC(RELAY_CallFrom32Regs)( CONTEXT *context ) { }
#endif /* __i386__ */
......@@ -373,7 +373,12 @@ FARPROC SNOOP_GetProcAddress(HMODULE hmod,LPCSTR name,DWORD ordinal,FARPROC orig
return origfun;
}
REGS_ENTRYPOINT(SNOOP_Entry) { }
REGS_ENTRYPOINT(SNOOP_Return) { }
void WINAPI REGS_FUNC(SNOOP_Entry)( CONTEXT *context )
{
}
void WINAPI REGS_FUNC(SNOOP_Return)( CONTEXT *context )
{
}
#endif /* !__i386__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment