Do not rely on secure API functions when using MinGW-w64
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Feb 2013 10:59:50 +0000 (10:59 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 6 Feb 2013 10:59:50 +0000 (10:59 +0000)
commitc26b3c293db4e8b01ad84a078b093f06d2631e1c
tree587f7b8940186dbfe9bb887a9d3489d5c3cd5b4d
parentd6622203a5aa0b59915feea57703fa509de8f0dc
Do not rely on secure API functions when using MinGW-w64

Windows XP does not provide secure API functions in msvcrt.dll but
newer versions of Windows do. Avoid using secure API functions for
compatibility with msvcrt.dll on Windows XP.

Contributed by net147@gmail.com

BUGS=
TEST=

Review URL: https://chromiumcodereview.appspot.com/12189010
Patch from Jonathan Liu <net147@gmail.com>.

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