summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_webrtc_base_httpcommon.cc
blob: 6288d19666007587c0224532b81d20fd656b011f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/webrtc/base/httpcommon.cc.orig	2017-06-05 19:04:24 UTC
+++ third_party/webrtc/base/httpcommon.cc
@@ -384,7 +384,7 @@ bool HttpDateToSeconds(const std::string& date, time_t
     gmt = non_gmt + kTimeZoneOffsets[zindex] * 60 * 60;
   }
   // TODO: Android should support timezone, see b/2441195
-#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(BSD)
+#if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) || defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD)
   tm *tm_for_timezone = localtime(&gmt);
   *seconds = gmt + tm_for_timezone->tm_gmtoff;
 #else