Don't #define snprintf in VS2015 - it's illegal and unneeded.

VS 2015 supplies a conforming snprintf implementation, so #define
snprintf is no longer needed. Also, VS 2015 checks for #define of
snprintf and treats it as a fatal error.

LOG=Y
R=jarin@chromium.org
BUG=440500

Review URL: https://codereview.chromium.org/1078453002

Cr-Commit-Position: refs/heads/master@{#27690}
This commit is contained in:
brucedawson 2015-04-09 02:02:52 -07:00 committed by Commit bot
parent ba70a7a3e1
commit 5a6247a31b

View File

@ -5,8 +5,10 @@
#include "src/ostreams.h"
#if V8_OS_WIN
#if _MSC_VER < 1900
#define snprintf sprintf_s
#endif
#endif
namespace v8 {
namespace internal {