Index: webrtc/base/httpcommon.cc |
diff --git a/webrtc/base/httpcommon.cc b/webrtc/base/httpcommon.cc |
index c90bea51ccaa8510b5925548de5af2cdb4e8ace8..7bc18c4ad9e97daa4d4d232f1336c14d550d8414 100644 |
--- a/webrtc/base/httpcommon.cc |
+++ b/webrtc/base/httpcommon.cc |
@@ -388,7 +388,7 @@ bool HttpDateToSeconds(const std::string& date, time_t* seconds) { |
tm *tm_for_timezone = localtime(&gmt); |
*seconds = gmt + tm_for_timezone->tm_gmtoff; |
#else |
-#if _MSC_VER >= 1900 |
+#if defined(_MSC_VER) && _MSC_VER >= 1900 |
long timezone = 0; |
_get_timezone(&timezone); |
#endif |