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: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: pierre dot muller at ics-cnrs dot unistra dot fr
- Cc: gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Mon, 21 Mar 2011 17:12:37 +0100 (CET)
- Subject: Re: [RFC] Question about CODESET macro inside config/djgpp/langinfo.h
- References: <000c01cbe7e0$53e3f510$fbabdf30$@muller@ics-cnrs.unistra.fr>
> 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.