[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gettext-0.10.36
From: |
Warren L Dodge |
Subject: |
gettext-0.10.36 |
Date: |
Sun, 8 Apr 2001 21:23:10 -0700 (PDT) |
I am having a problem with LC_MESSAGES getting redefined.
I think I tracked it down to this in the libgnuintl.h
/* The LC_MESSAGES locale category is the category used by the functions
gettext() and dgettext(). It is specified in POSIX, but not in ANSI C.
On systems that don't define it, use an arbitrary value instead.
On Solaris, <locale.h> defines __LOCALE_H then includes <libintl.h> (i.e.
this file!) and then only defines LC_MESSAGES. To avoid a redefinition
warning, don't define LC_MESSAGES in this case. */
#if !defined LC_MESSAGES && !defined __LOCALE_H
# define LC_MESSAGES 1729
#endif
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.
- gettext-0.10.36,
Warren L Dodge <=