This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 8.3 0/3] Some style fixes
On 03/14/2019 12:20 PM, Tom Tromey wrote:
>>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>
> Eli> +#ifdef __MINGW32__
> Eli> +#include <windows.h>
> Eli> +static SHORT ncurses_norm_attr;
> Eli> +#endif
>
> I'd somewhat prefer it if the definition were in a separate block after
> all the includes.
>
Me too. It would help with the "namespace gdb" effort as well,
since the variable will be braced under "namespace gdb" while
the header won't.
Thanks,
Pedro Alves