Re: [RFAv3 2/6] Improve process exit status macros on MinGW

Eli Zaretskii
2020-01-06T19:55:54Z

> Date: Mon, 6 Jan 2020 19:38:50 +0000 (UTC)
> From: "Hannes Domani via gdb-patches" <gdb-patches@sourceware.org>
>
> > Does the below help?
> >
> > diff --git a/gdb/gdbsupport/gdb_wait.c b/gdb/gdbsupport/gdb_wait.c
> > index 037ba64..6facc48 100644
> > --- a/gdb/gdbsupport/gdb_wait.c
> > +++ b/gdb/gdbsupport/gdb_wait.c
> > @@ -34,7 +34,7 @@
> >Â Â Â Â  false positives is justified by the utility of reporting the
> >Â Â Â Â  terminating signal in the "normal" cases.Â  */
> >
> > -# include "gdb/signals.h"Â Â Â  /* for enum gdb_signal */
> > +# include <signal.h>
> >
> >
> > # define WIN32_LEAN_AND_MEAN
> > # include <windows.h>Â Â Â Â Â Â Â  /* for EXCEPTION_* constants */
>
> Yes, this works.

Thanks, pushed.