From 94f8c957011e0d1f9a28607a05066edc2989eaa2 Mon Sep 17 00:00:00 2001 From: "chromium@hybridsource.org" Date: Sat, 25 Jun 2011 04:54:41 +0000 Subject: Patch for Solaris support, mostly ifdefs and header files, plus adds libevent configuration. BUG=30101 TEST=compiles Review URL: http://codereview.chromium.org/7238021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90494 0039d316-1c4b-4281-b951-d872f2087c98 --- base/time_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/time_posix.cc') diff --git a/base/time_posix.cc b/base/time_posix.cc index 39b2a75..a2ea5ae 100644 --- a/base/time_posix.cc +++ b/base/time_posix.cc @@ -110,7 +110,7 @@ Time Time::FromExploded(bool is_local, const Exploded& exploded) { timestruct.tm_wday = exploded.day_of_week; // mktime/timegm ignore this timestruct.tm_yday = 0; // mktime/timegm ignore this timestruct.tm_isdst = -1; // attempt to figure it out -#if !defined(OS_NACL) +#if !defined(OS_NACL) && !defined(OS_SOLARIS) timestruct.tm_gmtoff = 0; // not a POSIX field, so mktime/timegm ignore timestruct.tm_zone = NULL; // not a POSIX field, so mktime/timegm ignore #endif -- cgit v1.1