Work around 'local extern declaration with attribute' gcc bug.

This commit is contained in:
Ulrich Weigand 1999-07-25 11:22:20 +00:00 committed by Alexandre Julliard
parent 3b3dc5c8b3
commit d0e15a6b72
1 changed files with 3 additions and 2 deletions

View File

@ -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;