MinGW32: define STRUNCATE and change strncpy_s implementation to follow specification.
authorvegorov@chromium.org <vegorov@chromium.org>
Wed, 6 Jul 2011 12:25:25 +0000 (12:25 +0000)
committerBert Belder <bertbelder@gmail.com>
Fri, 15 Jul 2011 22:38:34 +0000 (00:38 +0200)
commit442c5c95adeb44700eda9b25d773d3f285ccfe3c
treeece90185770e92d35eb834402336c4569ea5965e
parent1c2dd454dbf9db45001db8044d320d9b787c7237
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: https://v8.googlecode.com/svn/branches/bleeding_edge@8552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
deps/v8/src/platform-win32.cc