From: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
---|---|
To: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
Cc: | "Magnus Hagander" <magnus(at)hagander(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
Date: | 2008-11-25 08:34:36 |
Message-ID: | 20081125173024.7B45.52131E4D@oss.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
"Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> 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
Attachment | Content-Type | Size |
---|---|---|
pg_locale-1125.diff | application/octet-stream | 1.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2008-11-25 09:03:03 | Re: Comments to Synchronous replication patch v3 |
Previous Message | Dave Page | 2008-11-25 08:31:02 | Re: blatantly a bug in the documentation |
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Saito | 2008-11-25 13:03:52 | Re: [PATCHES] Solve a problem of LC_TIME of windows. |
Previous Message | Tom Lane | 2008-11-24 15:44:40 | Re: [PATCHES] Solve a problem of LC_TIME of windows. |