diff options
Diffstat (limited to 'libjava/java/lang/natSystem.cc')
-rw-r--r-- | libjava/java/lang/natSystem.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/java/lang/natSystem.cc b/libjava/java/lang/natSystem.cc index b8467f2..386d8b0 100644 --- a/libjava/java/lang/natSystem.cc +++ b/libjava/java/lang/natSystem.cc @@ -250,6 +250,8 @@ java::lang::System::getSystemTimeZone (void) #ifdef STRUCT_TM_HAS_GMTOFF // tm_gmtoff is secs EAST of UTC. tzoffset = -(tim->tm_gmtoff) + tim->tm_isdst * 3600L; +#elif HAVE_UNDERSCORE_TIMEZONE + tzoffset = _timezone; #elif HAVE_TIMEZONE // timezone is secs WEST of UTC. tzoffset = timezone; |