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] defs.h: Define GDB_DEFAULT_TARGET_[WIDE_]CHARSET for Cygwin and MingW builds


> 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.


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