Work around 'local extern declaration with attribute' gcc bug.
This commit is contained in:
parent
3b3dc5c8b3
commit
d0e15a6b72
|
@ -46,11 +46,12 @@ DECLARE_DEBUG_CHANNEL(relay)
|
|||
|
||||
#undef TRY_PICRETURN
|
||||
|
||||
extern void WINAPI REGS_FUNC(RtlRaiseException)( EXCEPTION_RECORD *rec,
|
||||
CONTEXT *context );
|
||||
|
||||
static void do_exception( int signal, CONTEXT86 *context )
|
||||
{
|
||||
EXCEPTION_RECORD rec;
|
||||
extern void WINAPI REGS_FUNC(RtlRaiseException)( EXCEPTION_RECORD *rec,
|
||||
CONTEXT *context );
|
||||
if ((signal == SIGTRAP) || (signal == SIGHUP))
|
||||
{
|
||||
rec.ExceptionCode = EXCEPTION_BREAKPOINT;
|
||||
|
|
Loading…
Reference in New Issue