LC_MESSAGES and BSD/OS
От | Bruce Momjian |
---|---|
Тема | LC_MESSAGES and BSD/OS |
Дата | |
Msg-id | 200006281458.KAA07335@candle.pha.pa.us обсуждение исходный текст |
Ответы |
Re: LC_MESSAGES and BSD/OS
|
Список | pgsql-hackers |
Locale does not work on BSD/OS because it does not have LC_MESSAGES. I just got this back from BSDI technical support. Comments? --------------------------------------------------------------------------- In message <200006100115.VAA06505@candle.pha.pa.us>, Bruce Momjian writes: >I assume the symbol is supposed to be defined in locale.h. HP-UX and >other Unix's have this symbol, but BSDI doesn't. It is only used when >PostgreSQL is compile with locale enabled. >I see no mention of LC_MESSAGES in the include file or manual page. LC_MESSAGES is apparently an extension; it's not in the POSIX spec, and it's not in the C spec I have handy. (Admittedly, that's C99, but I don't think anything like this was removed since C89.) So, recommend you #ifdef that; #ifdef LC_MESSAGES...[interact with LC_MESSAGES]#endif -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: