RFA: Support Windows extended error numbers in safe_strerror

Eli Zaretskii eliz@gnu.org
Sat Feb 4 15:35:00 GMT 2006


> Date: Sat, 4 Feb 2006 16:32:51 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sourceware.org, jimb@red-bean.com
> 
> >   #ifdef NEED_FOOBAR
> >   foobar ();
> >   #endif
> > 
> > with the body of `foobar' hiding all the rest on a Windows-specific
> > source file.  I think such a method minimizes the bad impact of
> > ifdef's and does not annoy too much when one reads the sources.
> 
> This is slightly better, but starts to get problematic if there are
> many places in the code where this is necessary.

I think we can worry about that when we come to that point.  For now,
I'll be happy just to reach consensus on using this method ;-)



More information about the Gdb-patches mailing list