[RFC] Question about CODESET macro inside config/djgpp/langinfo.h
Eli Zaretskii
eliz@gnu.org
Mon Mar 21 20:10:00 GMT 2011
> 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.
More information about the Gdb-patches
mailing list