summaryrefslogtreecommitdiffstats
path: root/base/time_posix.cc
diff options
context:
space:
mode:
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