MinGW32: define STRUNCATE and change strncpy_s implementation to follow specification.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Jul 2011 12:25:25 +0000 (12:25 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Jul 2011 12:25:25 +0000 (12:25 +0000)
commitf465eeff69c8e28ff3c40e6566e469d7b1c5c955
tree7481e4d5fff4fee5eec9ae0c8372132d2ab1da27
parentaed876cb21118f2b8add62d9296d72b7acecac8c
MinGW32: define STRUNCATE and change strncpy_s implementation to follow specification.

This fixes the debug build for MinGW32

Patch by Bert Belder.

Review URL: http://codereview.chromium.org/7308007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/platform-win32.cc