Re: [PATCH 00/16] Add styling to the gdb CLI and TUI

Tom Tromey
2019-03-01T21:04:04Z

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:

Eli> I'm not sure I understand how to call that host-dependent function.
Eli> You don't mean #ifdef, do you? My idea was to do something like
[...]

Eli> where w32_fputs will DTRT for Windows. If this is not what you had in
Eli> mind, can you maybe point me to a place where host-dependent functions
Eli> are called?

Another way would be to just make a new function and implement it
differently in mingw-hdep.c and in posix-hdep.c.

Tom