Revision: 22224
Author:   [email protected]
Date:     Mon Jul  7 07:21:10 2014 UTC
Log: 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
[email protected]

Review URL: https://codereview.chromium.org/370823002
http://code.google.com/p/v8/source/detail?r=22224

Modified:
 /branches/bleeding_edge/src/ostreams.cc

=======================================
--- /branches/bleeding_edge/src/ostreams.cc     Fri Jun 27 08:42:17 2014 UTC
+++ /branches/bleeding_edge/src/ostreams.cc     Mon Jul  7 07:21:10 2014 UTC
@@ -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
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to