equal
deleted
inserted
replaced
285 |
285 |
286 # ifdef __osx__ |
286 # ifdef __osx__ |
287 # include <time.h> |
287 # include <time.h> |
288 # define HAS_TIMEGM |
288 # define HAS_TIMEGM |
289 |
289 |
|
290 # ifdef NO_LONGER_NEEDED |
|
291 // struct tm seems to be defined now (new XCODE/CLANG compiler) |
290 struct tm { |
292 struct tm { |
291 int tm_sec; /* seconds after the minute [0-60] */ |
293 int tm_sec; /* seconds after the minute [0-60] */ |
292 int tm_min; /* minutes after the hour [0-59] */ |
294 int tm_min; /* minutes after the hour [0-59] */ |
293 int tm_hour; /* hours since midnight [0-23] */ |
295 int tm_hour; /* hours since midnight [0-23] */ |
294 int tm_mday; /* day of the month [1-31] */ |
296 int tm_mday; /* day of the month [1-31] */ |
298 int tm_yday; /* days since January 1 [0-365] */ |
300 int tm_yday; /* days since January 1 [0-365] */ |
299 int tm_isdst; /* Daylight Savings Time flag */ |
301 int tm_isdst; /* Daylight Savings Time flag */ |
300 long tm_gmtoff; /* offset from CUT in seconds */ |
302 long tm_gmtoff; /* offset from CUT in seconds */ |
301 char *tm_zone; /* timezone abbreviation */ |
303 char *tm_zone; /* timezone abbreviation */ |
302 }; |
304 }; |
|
305 # endif /* NO_LONGER */ |
303 |
306 |
304 # include <crt_externs.h> |
307 # include <crt_externs.h> |
305 # include <net/if_dl.h> |
308 # include <net/if_dl.h> |
306 |
309 |
307 # endif /* __osx__ */ |
310 # endif /* __osx__ */ |
14175 ! ! |
14178 ! ! |
14176 |
14179 |
14177 !UnixOperatingSystem class methodsFor:'documentation'! |
14180 !UnixOperatingSystem class methodsFor:'documentation'! |
14178 |
14181 |
14179 version |
14182 version |
14180 ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.430 2015-03-27 08:47:10 cg Exp $' |
14183 ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.431 2015-04-07 10:24:16 cg Exp $' |
14181 ! |
14184 ! |
14182 |
14185 |
14183 version_CVS |
14186 version_CVS |
14184 ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.430 2015-03-27 08:47:10 cg Exp $' |
14187 ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.431 2015-04-07 10:24:16 cg Exp $' |
14185 ! ! |
14188 ! ! |
14186 |
14189 |
14187 |
14190 |
14188 UnixOperatingSystem initialize! |
14191 UnixOperatingSystem initialize! |
14189 UnixOperatingSystem::ELFConstants initialize! |
14192 UnixOperatingSystem::ELFConstants initialize! |