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); |