--- a/Unix.st Wed Dec 20 18:42:16 1995 +0100
+++ b/Unix.st Wed Dec 20 18:43:32 1995 +0100
@@ -4484,8 +4484,17 @@
day = _MKSMALLINT(tmPtr->tm_mday);
if (tmPtr->tm_isdst == 0)
utcOffset = _MKSMALLINT(timezone);
- else
+ else {
+#ifdef HAS_ALTZONE
utcOffset = _MKSMALLINT(altzone);
+#else
+# ifdef HAS_DAYLIGHT
+ utcOffset = _MKSMALLINT(daylight);
+# else
+ utcOffset = _MKSMALLINT(timezone);
+# endif
+#endif
+ }
}
%}.
year notNil ifTrue:[
@@ -5353,6 +5362,6 @@
!OperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Attic/Unix.st,v 1.100 1995-12-20 17:40:31 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Attic/Unix.st,v 1.101 1995-12-20 17:43:32 cg Exp $'
! !
OperatingSystem initialize!