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

Unified Diff: src/processor/dump_context.cc

Issue 1602563003: Fix usage of snprintf for MSVC (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad@master
Patch Set: Created 4 years, 11 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
Index: src/processor/dump_context.cc
diff --git a/src/processor/dump_context.cc b/src/processor/dump_context.cc
index 49fb77b15fcade8bc406a1f154298be93d060792..1c10b955b44ab5e3a8c4af5475e0c6bcfb75d038 100644
--- a/src/processor/dump_context.cc
+++ b/src/processor/dump_context.cc
@@ -34,17 +34,14 @@
#include "google_breakpad/processor/dump_context.h"
#include <assert.h>
-#include <stdio.h>
#ifdef _WIN32
#include <io.h>
-#if defined(_MSC_VER) && _MSC_VER < 1900
-#define snprintf _snprintf
-#endif
#else // _WIN32
#include <unistd.h>
#endif // _WIN32
+#include "common/stdio.h"
#include "processor/logging.h"
namespace google_breakpad {
« src/common/stdio.h ('K') | « src/common/stdio.h ('k') | src/processor/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698