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)
There might be some places to replace it to strlcpy() instead.

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


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to