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

Unified Diff: media/cdm/ppapi/cdm_logging.cc

Issue 798163004: remove some dead visual studio < 2013 code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove MAYBE macro completely Created 6 years 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 | « jingle/notifier/base/xmpp_connection_unittest.cc ('k') | third_party/leveldatabase/port/port_chromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/ppapi/cdm_logging.cc
diff --git a/media/cdm/ppapi/cdm_logging.cc b/media/cdm/ppapi/cdm_logging.cc
index 02383fc893dc57b58bceb563984d61bf631f9c04..117db5e26d2f801ade63417707dc8f92c3696f03 100644
--- a/media/cdm/ppapi/cdm_logging.cc
+++ b/media/cdm/ppapi/cdm_logging.cc
@@ -102,7 +102,7 @@ CdmLogMessage::CdmLogMessage(const char* file, int line) {
// Time and tick count.
time_t t = time(NULL);
struct tm local_time = {0};
-#if _MSC_VER >= 1400
+#ifdef _MSC_VER
localtime_s(&local_time, &t);
#else
localtime_r(&t, &local_time);
« no previous file with comments | « jingle/notifier/base/xmpp_connection_unittest.cc ('k') | third_party/leveldatabase/port/port_chromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698