On Jan 27 21:14, Corinna Vinschen wrote: > From: Corinna Vinschen <[email protected]> > > NetBSD defines __dead as __attribute__((__noreturn__)). Add a matching > macro expression. > > Signed-off-by: Corinna Vinschen <[email protected]> > --- > winsup/utils/gencat.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/winsup/utils/gencat.c b/winsup/utils/gencat.c > index b009b77c09b6..430d097cb341 100644 > --- a/winsup/utils/gencat.c > +++ b/winsup/utils/gencat.c > @@ -96,6 +96,10 @@ up-to-date. Many thanks. > #define NL_MSGMAX 2048 > #endif > > +#ifndef __dead > +#define __dead __attribute__((__noreturn__)) > +#endif > + > struct _msgT { > long msgId; > char *str; > -- > 2.52.0
Pushed.
