This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Question about CODESET macro inside config/djgpp/langinfo.h
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: pierre dot muller at ics-cnrs dot unistra dot fr, gdb-patches at sourceware dot org
- Date: Mon, 21 Mar 2011 20:44:46 +0200
- Subject: Re: [RFC] Question about CODESET macro inside config/djgpp/langinfo.h
- References: <000c01cbe7e0$53e3f510$fbabdf30$%muller@ics-cnrs.unistra.fr> <201103211612.p2LGCbYU010335@glazunov.sibelius.xs4all.nl>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 21 Mar 2011 17:12:37 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sourceware.org, eliz@gnu.org
>
> > From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> > Cc: "'Eli Zaretskii'" <eliz@gnu.org>
> >
> > Also about macros removal inside config subdirectory:
> >
> > I was wondering about the usefulness of CODESET macro definition
> > inside
> > config/djgpp/langinfo.h
> >
> > #define CODESET CODESET
> >
> > while CODESET is itself a member of an enumeration.
>
> It means that you can check for the macro using #ifdef. I think that
> is required by POSIX.
I'm not sure it's required, but every implementation I've seen has
this macro, so I put it in as well.