Reviewers: jochen,
Description:
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
Please review this at https://codereview.chromium.org/370823002/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files (+1, -1 lines):
M src/ostreams.cc
Index: src/ostreams.cc
===================================================================
--- src/ostreams.cc (revision 22219)
+++ src/ostreams.cc (working copy)
@@ -6,7 +6,7 @@
#include "src/ostreams.h"
-#if V8_CC_MSVC
+#if V8_OS_WIN
#define snprintf sprintf_s
#endif
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.