Re: [RFA] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds

Eli Zaretskii
2010-02-28T18:59:59Z

> Date: Sun, 28 Feb 2010 19:11:05 +0100
> From: Corinna Vinschen <vinschen@redhat.com>
>
> #define GDB_DEFAULT_TARGET_CHARSET get_cp()
>
> char *
> get_cp ()
> {
> char buf[32];
>
> snprintf (buf, 32, "CP%u", GetACP ());
> }
>
> should do it, right?

Yes, I think so.