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

Unified Diff: src/processor/logging.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/logging.cc
diff --git a/src/processor/logging.cc b/src/processor/logging.cc
index 8bb95a695aa9ebb9acbfdef8208972bd39a37204..06c5510c93253486ca6f99d79fad8f097d2fdb10 100644
--- a/src/processor/logging.cc
+++ b/src/processor/logging.cc
@@ -35,20 +35,16 @@
#include <assert.h>
#include <errno.h>
-#include <stdio.h>
#include <string.h>
#include <time.h>
#include <string>
+#include "common/stdio.h"
#include "common/using_std_string.h"
#include "processor/logging.h"
#include "processor/pathname_stripper.h"
-#ifdef _WIN32
-#define snprintf _snprintf
-#endif
-
namespace google_breakpad {
LogStream::LogStream(std::ostream &stream, Severity severity,

Powered by Google App Engine
This is Rietveld 408576698