Commit 60af0a25 authored by jochen@chromium.org's avatar jochen@chromium.org

Availability of sprintf_s is a C standard library thing, not a compiler thing.

Our clang/win build currently uses MSVS's C library, so it doesn't have
snprintf but it does have sprintf_s.

BUG=chromium:82385
LOG=n
R=jochen@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22224 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6d5d4b44
......@@ -6,7 +6,7 @@
#include "src/ostreams.h"
#if V8_CC_MSVC
#if V8_OS_WIN
#define snprintf sprintf_s
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment