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: [RFC] Question about CODESET macro inside config/djgpp/langinfo.h


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


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