Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(162)

Unified Diff: src/processor/logging.cc

Issue 2734002: Fix building minidump processor and minidump tools for MinGW Base URL: http://google-breakpad.googlecode.com/svn/trunk
Patch Set: Fix building minidump processor and minidump tools for MinGW Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/processor/cfi_frame_info.cc ('k') | src/processor/minidump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/logging.cc
===================================================================
--- src/processor/logging.cc (revision 1418)
+++ src/processor/logging.cc (working copy)
@@ -45,7 +45,7 @@
#include "processor/logging.h"
#include "processor/pathname_stripper.h"
-#ifdef _WIN32
+#ifdef _MSC_VER
#define snprintf _snprintf
#endif
@@ -57,7 +57,7 @@
time_t clock;
time(&clock);
struct tm tm_struct;
-#ifdef _WIN32
+#ifdef _MSC_VER
localtime_s(&tm_struct, &clock);
#else
localtime_r(&clock, &tm_struct);
« no previous file with comments | « src/processor/cfi_frame_info.cc ('k') | src/processor/minidump.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted