Index: base/logging.cc |
diff --git a/base/logging.cc b/base/logging.cc |
index 327ac7792862138a8ceec46de367f443689bd018..5d65fa5a48e1e73077b2008b177f3e50740644e9 100644 |
--- a/base/logging.cc |
+++ b/base/logging.cc |
@@ -659,7 +659,7 @@ void LogMessage::Init(const char* file, int line) { |
if (log_timestamp) { |
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); |