--- a/Win32OperatingSystem.st Tue Mar 13 19:57:35 2007 +0100
+++ b/Win32OperatingSystem.st Wed Mar 14 10:19:18 2007 +0100
@@ -376,18 +376,6 @@
#define _HANDLEVal(o) (HANDLE)(__externalAddressVal(o))
-/*
- * not all systems have time_t and off_t
- * explicit add of those we know to have ...
- */
-
-#ifndef TIME_T
-# define TIME_T time_t
-#endif
-#ifndef OFF_T
-# define OFF_T long
-#endif
-
%}
! !
@@ -8163,10 +8151,10 @@
struct tm* tmPtr;
struct tm tmValue;
INT t;
- TIME_T tt;
+ time_t tt;
t = __longIntVal(osSeconds);
- tt = (TIME_T)t;
+ tt = (time_t)t;
#ifdef __BORLANDC__
tmPtr = localtime(&tt);
@@ -8210,7 +8198,7 @@
if (__bothSmallInteger(y, m)
&& __bothSmallInteger(d, h)
&& __bothSmallInteger(min, s)) {
- TIME_T t;
+ time_t t;
TIME_ZONE_INFORMATION tzInfo;
int gmtoffMinutes;
@@ -8257,7 +8245,7 @@
%{
struct tm tm;
- TIME_T t;
+ time_t t;
if (__bothSmallInteger(y, m)
&& __bothSmallInteger(d, h)
@@ -8299,10 +8287,10 @@
struct tm *tmPtr;
struct tm tmValue;
INT t;
- TIME_T tt;
+ time_t tt;
t = __longIntVal(osSeconds);
- tt = (TIME_T)t;
+ tt = (time_t)t;
#ifdef __BORLANDC__
tmPtr = localtime(&tt);
@@ -8593,7 +8581,7 @@
struct tm *tmPtr;
struct tm tmValue;
UINT t;
- TIME_T tt;
+ time_t tt;
t = __longIntVal(osSeconds);
@@ -8614,7 +8602,7 @@
}
}
- tt = (TIME_T)t;
+ tt = (time_t)t;
if (isLocalTime == true) {
#ifdef __BORLANDC__
@@ -12760,7 +12748,7 @@
!Win32OperatingSystem class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.267 2007-03-13 18:51:01 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.268 2007-03-14 09:19:18 stefan Exp $'
! !
Win32OperatingSystem initialize!