Hi,
What's the point of HAVE_LC_MESSAGES?
I understand that HAVE_LC_MESSAGES is defined whenever config.h is
included while LC_MESSAGES is only defined if locale.h is included.
However, how is
#if HAVE_LC_MESSAGES
setlocale(LC_MESSAGES,);
#endif
better than
#ifdef LC_MESSAGES
Hi,
Sam Steingold wrote:
What's the point of HAVE_LC_MESSAGES?
The point is to tell whether LC_MESSAGES is supported by the system, or is a
fake one defined by libintl or gnulib.
See doc/posix-headers/locale.texi:
Portability problems fixed by Gnulib:
@itemize
@item
The definition of
Hi,
* Bruno Haible oe...@pyvfc.bet [2011-07-13 21:12:49 +0200]:
Sam Steingold wrote:
What's the point of HAVE_LC_MESSAGES?
The point is to tell whether LC_MESSAGES is supported by the system,
or is a fake one defined by libintl or gnulib.
does clisp need to know the difference?
This #if
Sam Steingold wrote:
does clisp need to know the difference?
This #if or #ifdef is outdated. The gettext manual [1] explains why.
[1] http://www.gnu.org/software/gettext/manual/html_node/Triggering.html
The gettext manual answers this question.
are you suggesting that clisp should import
* Bruno Haible oe...@pyvfc.bet [2011-07-13 22:44:49 +0200]:
Sam Steingold wrote:
does clisp need to know the difference?
This #if or #ifdef is outdated. The gettext manual [1] explains why.
[1] http://www.gnu.org/software/gettext/manual/html_node/Triggering.html
The gettext manual