fixed for minix, which does not have ftime
This commit is contained in:
parent
a6e2924411
commit
0ba5f8deb7
@ -40,12 +40,17 @@ tzset()
|
||||
__daylight = tzon.tz_dsttime;
|
||||
#else
|
||||
#ifndef __USG
|
||||
#if minix || minixST
|
||||
__timezone = 0L;
|
||||
__daylight = 0;
|
||||
#else
|
||||
struct timeb time;
|
||||
|
||||
ftime(&time);
|
||||
__timezone = time.timezone*60L;
|
||||
__daylight = time.dstflag;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user