This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Support Windows extended error numbers in safe_strerror


> Date: Thu, 9 Feb 2006 16:06:45 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> > If the default version doesn't compile on the platform that needs the
> > hook, the solution is simple: define enough macros and stub functions
> > to effectively make it the default version a nop on that platform.
> 
> Except now I can't define either macros or prototypes for the stub
> functions

Yes, you can: in defs.h, if no other suitable header can be found in
include/, like filenames.h for file-name related issues.

Or we could add a sysdep.h header just to lump all kinds of
system-dependent ugliness there.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]