summaryrefslogtreecommitdiffstats
path: root/base/time_posix.cc
diff options
context:
space:
mode:
authorchromium@hybridsource.org <chromium@hybridsource.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 04:54:41 +0000
committerchromium@hybridsource.org <chromium@hybridsource.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-25 04:54:41 +0000
commit94f8c957011e0d1f9a28607a05066edc2989eaa2 (patch)
tree0eab7b490ecb89c4e87bfe2da00579c09bd6c2bf /base/time_posix.cc
parent9a039aead5c77431a21db52692970a0d3e63f1fc (diff)
downloadchromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.zip
chromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.tar.gz
chromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.tar.bz2
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
Diffstat (limited to 'base/time_posix.cc')
-rw-r--r--base/time_posix.cc2
1 files changed, 1 insertions, 1 deletions
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