[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext-0.10.36
From: |
Bruno Haible |
Subject: |
Re: gettext-0.10.36 |
Date: |
Fri, 20 Apr 2001 19:41:51 +0200 (CEST) |
Warren L Dodge wrote on 2001-04-08:
> I am having a problem with LC_MESSAGES getting redefined.
>
> I think I tracked it down to this in the libgnuintl.h
> ...
> In looking at the solaris 2.51 and solaris 8 locale.h at our site it
> has this
>
> #ifndef _LOCALE_H
> #define _LOCALE_H
>
>
> Not __LOCALE_H
>
> This causes the LC_MESSAGES to get set and so on.
On Solaris 8, <locale.h> first defines LC_MESSAGES and then only
includes <libintl.h>. So there shouldn't be a warning on this
platform.
On Solaris 2.5.1, it is indeed _LOCALE_H not __LOCALE_H. But the
obvious attempt
#if !defined LC_MESSAGES && !(defined __LOCALE_H || defined _LOCALE_H)
# define LC_MESSAGES 1729
#endif
doesn't fix it. So you have to live with the warning (which is
harmless, btw.)
Bruno
- gettext-0.10.36, Warren L Dodge, 2001/04/09
- Re: gettext-0.10.36,
Bruno Haible <=