On Mon, Sep 7, 2009 at 04:40, Itagaki
Takahiro<itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> wrote:
> We define StrNCpy() macro in c.h, but it conflicts another macro
> defined in Microsoft SDKs:
>
> C:\Program Files\Microsoft SDKs\Windows\v6.1\Include\shlwapi.h(435)
> : warning C4005: 'StrNCpy' : macro redefinition
>
> Can we rename StrNCpy() macro to another name? (ex. pg_strncpy)
+1.
> There might be some places to replace it to strlcpy() instead.
Can't comment on that without looking at the code, but it wouldn't surprise me.
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/