Re: [PATCHES] Solve a problem of LC_TIME of windows.

Поиск
Список
Период
Сортировка
Искать
От
ITAGAKI Takahiro
Тема
Re: [PATCHES] Solve a problem of LC_TIME of windows.
Дата
Msg-id
20081125173024.7B45.52131E4D@oss.ntt.co.jp
Ответ на
Список
Дерево обсуждения
Re: Solve a problem of LC_TIME of windows. "Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>
Re: Solve a problem of LC_TIME of windows. Tom Lane <tgl@sss.pgh.pa.us>

"Hiroshi Saito"  wrote:

> Umm, format operand seems to be a wide character sequence.

Here is a patch to work around the wide character format string.
The hack is the following line:
    +#define strftime(a,b,c,d) strftime_win32(a,b,L##c,d)

We use only literals in the format strings, the macro adds
wide character prefix (L"...") to them.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

В списке pgsql-hackers по дате отправления
От: Dave Page
Дата:
От: Fujii Masao
Дата:
FAQ