Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: src/ostreams.cc

Issue 1078453002: Don't #define snprintf in VS2015 - it's illegal and unneeded. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Don't #define snprintf in VS2015 - it's illegal and unneeded. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ostreams.cc
diff --git a/src/ostreams.cc b/src/ostreams.cc
index b11332dafc521f62d423890224e0d23e64e832af..c3532bdbb1412c9c3461c3980debadfa4cff42f0 100644
--- a/src/ostreams.cc
+++ b/src/ostreams.cc
@@ -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 {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698